Disable LTO build on s390x
Fails with pcre limit error otherwise
This commit is contained in:
parent
236248c006
commit
49fba6acf2
@ -207,7 +207,13 @@ LLVM's modified googletest sources.
|
|||||||
utils/update_cc_test_checks.py
|
utils/update_cc_test_checks.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
%ifarch s390 s390x
|
||||||
|
# Fails with "exceeded PCRE's backtracking limit"
|
||||||
|
%global _lto_cflags %nil
|
||||||
|
%else
|
||||||
%global _lto_cflags -flto=thin
|
%global _lto_cflags -flto=thin
|
||||||
|
%endif
|
||||||
|
|
||||||
%ifarch s390 s390x %{arm} %ix86
|
%ifarch s390 s390x %{arm} %ix86
|
||||||
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
|
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
|
||||||
|
Loading…
Reference in New Issue
Block a user