From 8e9b3e27035cd991f67a2ee46cbb3d1225ee2b4c Mon Sep 17 00:00:00 2001 From: Kevin Kofler Date: May 08 2008 23:52:08 +0000 Subject: One excess TOC1 entry left, try -fno-inline-small-functions again because it previously removed one such entry. --- diff --git a/openbabel.spec b/openbabel.spec index 9dfb849..f165fe1 100644 --- a/openbabel.spec +++ b/openbabel.spec @@ -94,7 +94,10 @@ Ruby wrapper for the Open Babel library. %build %if 0%{?fedora} >= 9 %ifarch ppc64 +# hackery to get rid of excess TOC1 entries sed -i -e 's/-python /-python -fastdispatch /g' scripts/Makefile.am +export CFLAGS="$RPM_OPT_FLAGS -fno-inline-small-functions" +export CXXFLAGS="$RPM_OPT_FLAGS -fno-inline-small-functions" %endif %endif autoreconf --force --install @@ -186,6 +189,7 @@ popd %changelog * Thu May 08 2008 Kevin Kofler 2.2.0-0.3.b4 +- add -fno-inline-small-functions to optflags on F9+ ppc64 (#427700) - generate Python binding with -fastdispatch on F9+ ppc64 (#427700) * Sun Mar 02 2008 Dominik Mierzejewski 2.2.0-0.2.b4