From 858928c4f0a5c5dddf4471ec11610f576c78b47c Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Wed, 7 Aug 2013 14:34:16 +0200 Subject: [PATCH] disable -Werror on ppc64p7 for #918189 --- binutils.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/binutils.spec b/binutils.spec index 80c078c..63024cc 100644 --- a/binutils.spec +++ b/binutils.spec @@ -27,7 +27,7 @@ Name: %{?cross}binutils%{?_with_debug:-debug} # official binutils release happens (2.24.0) we will be able to restore # Version to an honest value and everything will be good again. Version: 2.23.88.0.1 -Release: 9%{?dist} +Release: 10%{?dist} License: GPLv3+ Group: Development/Tools URL: http://sources.redhat.com/binutils @@ -227,7 +227,13 @@ touch */configure %build echo target is %{binutils_target} +%ifarch %{power64} +#CFLAGS=`echo $RPM_OPT_FLAGS | sed -e -s "s/-Werror//g"` +#export CFLAGS +export CFLAGS="$RPM_OPT_FLAGS -Wno-error" +%else export CFLAGS="$RPM_OPT_FLAGS" +%endif CARGS= case %{binutils_target} in i?86*|sparc*|ppc*|s390*|sh*|arm*|aarch64*) @@ -496,6 +502,9 @@ exit 0 %endif # %{isnative} %changelog +* Wed Aug 07 2013 Karsten Hopp 2.23.88.0.1-10 +- disable -Werror on ppc64p7 for #918189 + * Sat Aug 03 2013 Fedora Release Engineering - 2.23.88.0.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild