Try -mno-fp-in-toc -mno-sum-in-toc (not sure if these are of any use with

-mminimal-toc though).
This commit is contained in:
Kevin Kofler 2008-05-08 19:39:13 +00:00
parent 53ed6e9b02
commit 803fd21479
1 changed files with 3 additions and 2 deletions

View File

@ -94,7 +94,8 @@ Ruby wrapper for the Open Babel library.
%build
%if 0%{?fedora} >= 9
%ifarch ppc64
sed -i -e 's/-python /-python -fcompact /g' scripts/Makefile.am
export CFLAGS="$RPM_OPT_FLAGS -mno-fp-in-toc -mno-sum-in-toc"
export CXXFLAGS="$RPM_OPT_FLAGS -mno-fp-in-toc -mno-sum-in-toc"
%endif
%endif
autoreconf --force --install
@ -186,7 +187,7 @@ popd
%changelog
* Thu May 08 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 2.2.0-0.3.b4
- generate Python binding with -fcompact on F9+ ppc64 (#427700)
- add -mno-fp-in-toc -mno-sum-in-toc 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