mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-19 13:40:59 +08:00
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.
This commit is contained in:
parent
3a2a9a9066
commit
48bb14bdbb
@ -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.
|
||||
|
@ -750,7 +750,7 @@ else
|
||||
endif
|
||||
+gccwarn += -Wundef
|
||||
ifeq ($(enable-werror),yes)
|
||||
+gccwarn += -Werror -Wno-error=undef
|
||||
+gccwarn += -Werror
|
||||
endif
|
||||
+gccwarn-c = -Wstrict-prototypes
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user