- add -fno-inline-small-functions to optflags on ppc64 (#427700)

This commit is contained in:
Kevin Kofler 2008-05-08 14:43:26 +00:00
parent 837df1df43
commit f2d13ad33c
1 changed files with 8 additions and 1 deletions

View File

@ -9,7 +9,7 @@
Name: openbabel
Version: 2.2.0
Release: 0.2.%{beta_ver}%{?dist}
Release: 0.3.%{beta_ver}%{?dist}
Summary: Chemistry software file format converter
License: GPLv2
Group: Applications/File
@ -92,6 +92,10 @@ Ruby wrapper for the Open Babel library.
%patch1 -p1 -b .r
%build
%ifarch ppc64
export CFLAGS="$RPM_OPT_FLAGS -fno-inline-small-functions"
export CXXFLAGS="$RPM_OPT_FLAGS -fno-inline-small-functions"
%endif
autoreconf --force --install
%configure --enable-shared=yes --enable-static=no --enable-maintainer-mode
%{__make} %{?_smp_mflags}
@ -180,6 +184,9 @@ popd
%{ruby_sitearch}/openbabel.so
%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)
* Sun Mar 02 2008 Dominik Mierzejewski <rpm@greysector.net> 2.2.0-0.2.b4
- updated to 2.2.0 beta4
- enable CML tests again (fixed upstream)