Blame SOURCES/glibc-rh1505492-undef-activate.patch

c6d234
commit 48bb14bdbbeb09cb3cd950d7346688958f1bce1a
c6d234
Author: Joseph Myers <joseph@codesourcery.com>
c6d234
Date:   Thu Aug 20 20:50:05 2015 +0000
c6d234
c6d234
    Don't use -Wno-error=undef.
c6d234
    
c6d234
    This patch removes the use of -Wno-error=undef, so that -Wundef
c6d234
    warnings become errors.
c6d234
    
c6d234
    Tested for x86_64, x86, mips64 (all three ABIs) and arm.
c6d234
    
c6d234
            * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
c6d234
            -Wno-error=undef.
c6d234
c6d234
diff --git a/Makeconfig b/Makeconfig
c6d234
index b1bf7f24b6154e3d..3c0d4abc5f5f30df 100644
c6d234
--- a/Makeconfig
c6d234
+++ b/Makeconfig
c6d234
@@ -645,7 +645,7 @@ else
c6d234
 endif
c6d234
 +gccwarn += -Wundef
c6d234
 ifeq ($(enable-werror),yes)
c6d234
-+gccwarn += -Werror -Wno-error=undef
c6d234
++gccwarn += -Werror
c6d234
 endif
c6d234
 +gccwarn-c = -Wstrict-prototypes
c6d234