disable lto on arm
This commit is contained in:
parent
05b6df2ccf
commit
03a7b7638f
14
R.spec
14
R.spec
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue