File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
.github/scripts/toolchain Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ if [[ "$RUN_CONFIG" = 1 ]] || [[ ! -f "$CYGWIN_BUILD_PATH/Makefile" ]]; then
1818 --enable-debug \
1919 --enable-debugging \
2020 --disable-lto"
21+ CFLAGS=" $CFLAGS -DDEBUG"
22+ CXXFLAGS=" $CXXFLAGS -DDEBUG"
23+ CFLAGS_FOR_TARGET=" $CFLAGS_FOR_TARGET -DDEBUG"
24+ CXXFLAGS_FOR_TARGET=" $CXXFLAGS_FOR_TARGET -DDEBUG"
2125 fi
2226
2327 (cd $CYGWIN_SOURCE_PATH /winsup && ./autogen.sh)
@@ -27,7 +31,10 @@ if [[ "$RUN_CONFIG" = 1 ]] || [[ ! -f "$CYGWIN_BUILD_PATH/Makefile" ]]; then
2731
2832 # ADDED: --disable-doc
2933 # ADDED: --disable-dumper
30- CXXFLAGS_FOR_TARGET=" -Wno-error -Wno-narrowing" \
34+ CFLAGS=" $CFLAGS " \
35+ CXXFLAGS=" $CXXFLAGS " \
36+ CFLAGS_FOR_TARGET=" $CFLAGS_FOR_TARGET " \
37+ CXXFLAGS_FOR_TARGET=" $CXXFLAGS_FOR_TARGET -Wno-error -Wno-narrowing" \
3138 $CYGWIN_SOURCE_PATH /configure \
3239 --prefix=$TOOLCHAIN_PATH \
3340 --build=$HOST \
You can’t perform that action at this time.
0 commit comments