[R/el5] disable features not found on ancient stuff
Tom Callaway
spot at fedoraproject.org
Fri Jan 24 16:10:25 UTC 2014
commit 62458ff1107b97691428adb0666977f4bdef0d8e
Author: Tom Callaway <spot at fedoraproject.org>
Date: Fri Jan 24 11:10:46 2014 -0500
disable features not found on ancient stuff
R.spec | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/R.spec b/R.spec
index 59cbd2f..1c9bdf9 100644
--- a/R.spec
+++ b/R.spec
@@ -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 at fedoraproject.org> - 3.0.2-4
+- disable lto on non-modern targets (not just ppc)
+
* Fri Jan 24 2014 Tom Callaway <spot at fedoraproject.org> - 3.0.2-3
- disable lto on ppc/ppc64
More information about the scm-commits
mailing list