about summary refs log tree commit diff
path: root/Makeconfig
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 /Makeconfig
parent3a2a9a906683323202eb61dd3c80a503b682d249 (diff)
downloadglibc-48bb14bdbbeb09cb3cd950d7346688958f1bce1a.tar.gz
glibc-48bb14bdbbeb09cb3cd950d7346688958f1bce1a.tar.xz
glibc-48bb14bdbbeb09cb3cd950d7346688958f1bce1a.zip
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.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig2
1 files changed, 1 insertions, 1 deletions
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