rpms/staden-io_lib/F-9 staden-io_lib.spec,1.2,1.3

Christian Iseli (c4chris) fedora-extras-commits at redhat.com
Sun Aug 10 12:18:18 UTC 2008


Author: c4chris

Update of /cvs/pkgs/rpms/staden-io_lib/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30053

Modified Files:
	staden-io_lib.spec 
Log Message:
Workaround gcc ICE bug 450889 (thanks to Mamoru Tasaka for the patch)


Index: staden-io_lib.spec
===================================================================
RCS file: /cvs/pkgs/rpms/staden-io_lib/F-9/staden-io_lib.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- staden-io_lib.spec	12 Jun 2008 13:56:28 -0000	1.2
+++ staden-io_lib.spec	10 Aug 2008 12:17:48 -0000	1.3
@@ -2,7 +2,7 @@
 # staden-io_lib will be more recognizable for users
 Name:           staden-io_lib
 Version:        1.11.2.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        General purpose library to handle gene sequencing machine trace files
 
 Group:          System Environment/Libraries
@@ -46,7 +46,14 @@
 %build
 #%% configure --disable-static
 %configure --enable-shared
+%if 0%{?fedora} == 9
+# First build source as much as possible
+# Next downgrade optimization level due to gcc ICE (bug 450889)
+make -k %{?_smp_mflags} || :
+make %{?_smp_mflags} CFLAGS="`echo %optflags | sed -e 's|-O2|-O|'`"
+%else
 make %{?_smp_mflags}
+%endif
 
 
 %install
@@ -106,6 +113,9 @@
 
 
 %changelog
+* Sun Aug 10 2008 Christian Iseli <Christian.Iseli at licr.org> 1.11.2.1-3
+- Workaround gcc ICE bug 450889 (thanks to Mamoru Tasaka for the patch)
+
 * Thu Jun 12 2008 Christian Iseli <Christian.Iseli at licr.org> 1.11.2.1-2
 - Avoid calling configure twice
 




More information about the fedora-extras-commits mailing list