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

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