Fix condition; lto doesn't work for some reason
This commit is contained in:
parent
9edfc9a566
commit
1f557c1cb0
4
R.spec
4
R.spec
@ -13,11 +13,11 @@
|
|||||||
# checking whether gfortran and gcc agree on double complex...
|
# checking whether gfortran and gcc agree on double complex...
|
||||||
# configure: WARNING: gfortran and gcc disagree on double complex
|
# configure: WARNING: gfortran and gcc disagree on double complex
|
||||||
# AND that leads to Fortran complex functions are not available on this platform
|
# AND that leads to Fortran complex functions are not available on this platform
|
||||||
%bcond_with lto
|
%bcond_with LTO
|
||||||
|
|
||||||
# We need at least gcc 10 anyway
|
# We need at least gcc 10 anyway
|
||||||
%global with_lto 1
|
%global with_lto 1
|
||||||
%if %{without lto} || 0%{?rhel} < 9
|
%if %{without LTO} || 0%{?rhel} < 9
|
||||||
%global with_lto 0
|
%global with_lto 0
|
||||||
%global _lto_cflags %nil
|
%global _lto_cflags %nil
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user