[yaboot] Disable Werror for the near future.

Tony Breeds tbreeds at fedoraproject.org
Tue Oct 18 06:22:44 UTC 2011


commit 6c095a99ca8c7f787e507bdcb641065ee67f34f3
Author: Tony Breeds <tony at bakeyournoodle.com>
Date:   Tue Oct 18 17:22:02 2011 +1100

    Disable Werror for the near future.
    
    Do not use Werror, the compiler in F16/Rawhide is hitting warnings that
    Upstream doesn't see.  Bypass them for now.
    
    Signed-off-by: Tony Breeds <tony at bakeyournoodle.com>

 yaboot-1.3.17-no-werror.patch |   10 ++++++++++
 yaboot.spec                   |    5 +++++
 2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/yaboot-1.3.17-no-werror.patch b/yaboot-1.3.17-no-werror.patch
new file mode 100644
index 0000000..5bd02f8
--- /dev/null
+++ b/yaboot-1.3.17-no-werror.patch
@@ -0,0 +1,10 @@
+--- yaboot-1.3.17/Makefile.orig	2011-10-18 17:08:21.488819995 +1100
++++ yaboot-1.3.17/Makefile	2011-10-18 17:08:30.038802076 +1100
+@@ -40,7 +40,6 @@
+ YBCFLAGS += -DTEXTADDR=$(TEXTADDR) -DDEBUG=$(DEBUG)
+ YBCFLAGS += -DMALLOCADDR=$(MALLOCADDR) -DMALLOCSIZE=$(MALLOCSIZE)
+ YBCFLAGS += -DKERNELADDR=$(KERNELADDR)
+-YBCFLAGS += -Werror -fdiagnostics-show-option
+ YBCFLAGS += -I ./include
+ YBCFLAGS += -fno-strict-aliasing
+ 
diff --git a/yaboot.spec b/yaboot.spec
index c31e3c9..cf35e42 100644
--- a/yaboot.spec
+++ b/yaboot.spec
@@ -24,6 +24,10 @@ Patch28: yaboot-1.3.13-dontwritehome.patch
 # Don't use insecure MD5, use SHA-2
 Patch40: yaboot-sha2.patch
 
+# Do not use Werror, the compiler in F16/Rawhide is hitting warnings that
+# Upstream doesn't see.  Bypass them for now.
+Patch41: yaboot-1.3.17-no-werror.patch
+
 URL: http://yaboot.ozlabs.org/
 BuildRoot: %{_tmppath}/%{name}-root
 Obsoletes: ybin
@@ -64,6 +68,7 @@ yaboot can also bootload IBM pSeries machines.
 %patch22 -p1
 %patch28 -p1
 %patch40 -p1
+%patch41 -p1
 
 %build
 make VERSIONEXTRA='\ (Red Hat %version-%release)' DEBUG=1


More information about the scm-commits mailing list