try with _lto_cflags on i686 again

f41
Caolán McNamara 3 years ago
parent 4199a64391
commit 053b3d3d24

@ -988,12 +988,6 @@ mv .git .git-rpm
# path to external tarballs # path to external tarballs
EXTSRCDIR=`dirname %{SOURCE0}` EXTSRCDIR=`dirname %{SOURCE0}`
# On i686, CustomTarget_testtools/uno_test from the testsuite fails when LTO is
# enabled:
%ifarch i686
%define _lto_cflags %{nil}
%endif
#use the RPM_OPT_FLAGS but remove the LibreOffice overridden ones #use the RPM_OPT_FLAGS but remove the LibreOffice overridden ones
for i in $RPM_OPT_FLAGS; do for i in $RPM_OPT_FLAGS; do
case "$i" in case "$i" in

Loading…
Cancel
Save