Blame SOURCES/glibc-rh1505492-uninit-intl-plural.patch

147e83
Do not treat uninitialized variable warnings as errors in the
147e83
auto-generated bison parser code in intl/plural.c.
147e83
147e83
This was fixed upstream with a regenerated parser as part of this
147e83
commit:
147e83
147e83
commit 568035b7874a099087b77f7bba3e36a1173787b0
147e83
Author: Joseph Myers <joseph@codesourcery.com>
147e83
Date:   Wed Jan 2 19:01:50 2013 +0000
147e83
147e83
    Update copyright notices with scripts/update-copyrights.
147e83
147e83
diff --git a/intl/Makefile b/intl/Makefile
147e83
index 39ecb680572bd7ab..f0a7d0d9047ce571 100644
147e83
--- a/intl/Makefile
147e83
+++ b/intl/Makefile
147e83
@@ -45,6 +45,9 @@ plural.c: plural.y
147e83
 	$(BISON) $(BISONFLAGS) $@ $^
147e83
 endif
147e83
 $(objpfx)plural.o: plural.c
147e83
+# The generated plural.c file generates unitialized variable warnings
147e83
+# with GCC 4.8 on 32-bit architectures.
147e83
+CFLAGS-plural.c = -Wno-error=maybe-uninitialized
147e83
 
147e83
 include ../Rules
147e83