Disable LTO

el8
Leigh Scott 5 years ago
parent 52e4c32bc6
commit 7f06b05087

@ -342,6 +342,9 @@ touch src/revision.txt
%build %build
%if 0%{?fedora} > 32
%define _lto_cflags %{nil}
%endif
%if 0%{?el7} %if 0%{?el7}
. /opt/rh/devtoolset-%{dts_ver}/enable . /opt/rh/devtoolset-%{dts_ver}/enable
%endif %endif

Loading…
Cancel
Save