]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Don't use -Wno-error=undef.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 20 Aug 2015 20:50:05 +0000 (20:50 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 20 Aug 2015 20:50:05 +0000 (20:50 +0000)
This patch removes the use of -Wno-error=undef, so that -Wundef
warnings become errors.

Tested for x86_64, x86, mips64 (all three ABIs) and arm.

* Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
-Wno-error=undef.

ChangeLog
Makeconfig

index 38051c0ebaa67a35f469d18162063af826ba16ce..92f438c245d7be84d6f41c6b0da6e6c4a7e97a12 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-08-20  Joseph Myers  <joseph@codesourcery.com>
+
+       * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
+       -Wno-error=undef.
+
 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
 
        * i386/i686/multiarch/strcasestr-c.c: Removed.
index f136b88da14edcd1b7e30b1b88d21101f0c4a698..bbe83ec16aa5252545c312b6506164014d393db5 100644 (file)
@@ -750,7 +750,7 @@ else
 endif
 +gccwarn += -Wundef
 ifeq ($(enable-werror),yes)
-+gccwarn += -Werror -Wno-error=undef
++gccwarn += -Werror
 endif
 +gccwarn-c = -Wstrict-prototypes