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

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