Only apply the -fno-inline-small-functions hack on F9+ (GCC 4.3).

This commit is contained in:
Kevin Kofler 2008-05-08 14:45:49 +00:00
parent f2d13ad33c
commit 59f8052675
1 changed files with 3 additions and 1 deletions

View File

@ -92,10 +92,12 @@ Ruby wrapper for the Open Babel library.
%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 @@ popd
%changelog
* Thu May 08 2008 Kevin Kofler <Kevin@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@greysector.net> 2.2.0-0.2.b4
- updated to 2.2.0 beta4