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.
+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.
endif
+gccwarn += -Wundef
ifeq ($(enable-werror),yes)
-+gccwarn += -Werror -Wno-error=undef
++gccwarn += -Werror
endif
+gccwarn-c = -Wstrict-prototypes