disable lto on arm

This commit is contained in:
Tom Callaway 2014-01-24 11:38:40 -05:00
parent 05b6df2ccf
commit 03a7b7638f
1 changed files with 13 additions and 1 deletions

14
R.spec
View File

@ -17,7 +17,7 @@
Name: R
Version: 3.0.2
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A language for data analysis and graphics
URL: http://www.r-project.org
Source0: ftp://cran.r-project.org/pub/R/src/base/R-3/R-%{version}.tar.gz
@ -171,6 +171,8 @@ Summary: Full R development environment metapackage
Requires: R-core-devel = %{version}-%{release}
%if %{modern}
Requires: R-java-devel = %{version}-%{release}
%else
Group: Development/Libraries
%endif
%description devel
@ -308,7 +310,11 @@ export FCFLAGS="%{optflags}"
--with-tk-config=%{_libdir}/tkConfig.sh \
--enable-R-shlib \
--enable-prebuilt-html \
%if %{modern}
%ifnarch %{arm}
--enable-lto \
%endif
%endif
rdocdir=%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}} \
rincludedir=%{_includedir}/R \
rsharedir=%{_datadir}/R) \
@ -813,6 +819,12 @@ 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
* Fri Dec 20 2013 Tom Callaway <spot@fedoraproject.org> - 3.0.2-2
- add --with-blas, --enable-lto to configure