Skip to content

Commit 89fea68

Browse files
committed
build: don't pass -w when building for Windows
This has been around since the introduction of autotools. However at this point I'm not sure we'd every want to suppress all warnings when performing a build, and given that CXX FLAGS will have been overriden when cross-compiling for Windows (using depends), this would rarely, if-ever be used anyways. From https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html: -w Inhibit all warning messages.
1 parent 88d8b4e commit 89fea68

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

configure.ac

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -576,9 +576,6 @@ case $host in
576576
fi
577577

578578
CPPFLAGS="$CPPFLAGS -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -D_WIN32_WINNT=0x0601"
579-
if test "x$CXXFLAGS_overridden" = "xno"; then
580-
CXXFLAGS="$CXXFLAGS -w"
581-
fi
582579

583580
dnl libtool insists upon adding -nostdlib and a list of objects/libs to link against.
584581
dnl That breaks our ability to build dll's with static libgcc/libstdc++/libssp. Override

0 commit comments

Comments
 (0)