disable features not found on ancient stuff

This commit is contained in:
Tom Callaway 2014-01-24 11:10:46 -05:00
parent c9b1f7ff53
commit 62458ff110
1 changed files with 4 additions and 1 deletions

5
R.spec
View File

@ -310,7 +310,7 @@ export FCFLAGS="%{optflags}"
--with-tk-config=%{_libdir}/tkConfig.sh \
--enable-R-shlib \
--enable-prebuilt-html \
%ifnarch ppc ppc64
%if %{modern}
--enable-lto \
%endif
rdocdir=%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}} \
@ -817,6 +817,9 @@ R CMD javareconf \
%postun -n libRmath -p /sbin/ldconfig
%changelog
* Fri Jan 24 2014 Tom Callaway <spot@fedoraproject.org> - 3.0.2-4
- disable lto on non-modern targets (not just ppc)
* Fri Jan 24 2014 Tom Callaway <spot@fedoraproject.org> - 3.0.2-3
- disable lto on ppc/ppc64