rpms/openbabel/devel openbabel.spec,1.19,1.20

Kevin Kofler (kkofler) fedora-extras-commits at redhat.com
Thu May 8 14:46:26 UTC 2008


Author: kkofler

Update of /cvs/pkgs/rpms/openbabel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4381/devel

Modified Files:
	openbabel.spec 
Log Message:
Only apply the -fno-inline-small-functions hack on F9+ (GCC 4.3).


Index: openbabel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openbabel/devel/openbabel.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- openbabel.spec	8 May 2008 14:43:26 -0000	1.19
+++ openbabel.spec	8 May 2008 14:45:49 -0000	1.20
@@ -92,10 +92,12 @@
 %patch1 -p1 -b .r
 
 %build
+%if 0%{?fedora} >= 9
 %ifarch ppc64
 export CFLAGS="$RPM_OPT_FLAGS -fno-inline-small-functions"
 export CXXFLAGS="$RPM_OPT_FLAGS -fno-inline-small-functions"
 %endif
+%endif
 autoreconf --force --install
 %configure --enable-shared=yes --enable-static=no --enable-maintainer-mode
 %{__make} %{?_smp_mflags}
@@ -185,7 +187,7 @@
 
 %changelog
 * Thu May 08 2008 Kevin Kofler <Kevin at tigcc.ticalc.org> 2.2.0-0.3.b4
-- add -fno-inline-small-functions to optflags on ppc64 (#427700)
+- add -fno-inline-small-functions to optflags on F9+ ppc64 (#427700)
 
 * Sun Mar 02 2008 Dominik Mierzejewski <rpm at greysector.net> 2.2.0-0.2.b4
 - updated to 2.2.0 beta4




More information about the fedora-extras-commits mailing list