diff options
author | fanquake <fanquake@gmail.com> | 2020-05-12 15:51:16 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2020-05-12 16:17:15 +0800 |
commit | 49d237ce3230288cee9d2c9d98d11702c906719b (patch) | |
tree | 8fce7d52ce2c8ae18730a68f81bcfd8492e4e855 /configure.ac | |
parent | 7a5767423f3757e876fbcb0f4ffb534172dd734d (diff) | |
parent | 89fea68ffdbd97394d891177e664f896b3e7d1e6 (diff) |
Merge #18928: build: don't pass -w when building for Windows
89fea68ffdbd97394d891177e664f896b3e7d1e6 build: don't pass -w when building for Windows (fanquake)
Pull request description:
This has been around since the introduction of autotools. However at
this point I'm not sure we'd ever 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.
ACKs for top commit:
hebasto:
ACK 89fea68ffdbd97394d891177e664f896b3e7d1e6
Tree-SHA512: 2b5bdef7fff5c87b28199f5822cab3cdf600c90c01a40db5cd85053eef5dcb5816e2e97ff61a30ff94b4f0c6cb7be22beaef34d82235bdf05ff9da865d40b381
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 569b5a298e..7de6adb93a 100644 --- a/configure.ac +++ b/configure.ac @@ -578,9 +578,6 @@ case $host in fi CPPFLAGS="$CPPFLAGS -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -D_WIN32_WINNT=0x0601" - if test "x$CXXFLAGS_overridden" = "xno"; then - CXXFLAGS="$CXXFLAGS -w" - fi dnl libtool insists upon adding -nostdlib and a list of objects/libs to link against. dnl That breaks our ability to build dll's with static libgcc/libstdc++/libssp. Override |