summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-08-20 20:50:05 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-08-20 20:50:05 +0000
commit48bb14bdbbeb09cb3cd950d7346688958f1bce1a (patch)
tree6c4e78745f538d2708e1b0a094ae747d1d4a9ff5
parent3a2a9a906683323202eb61dd3c80a503b682d249 (diff)
downloadglibc-48bb14bdbbeb09cb3cd950d7346688958f1bce1a.tar.gz
Don't use -Wno-error=undef.
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.
-rw-r--r--ChangeLog5
-rw-r--r--Makeconfig2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 38051c0eba..92f438c245 100644
--- 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.
diff --git a/Makeconfig b/Makeconfig
index f136b88da1..bbe83ec16a 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -750,7 +750,7 @@ else
endif
+gccwarn += -Wundef
ifeq ($(enable-werror),yes)
-+gccwarn += -Werror -Wno-error=undef
++gccwarn += -Werror
endif
+gccwarn-c = -Wstrict-prototypes