mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 18:36:50 +00:00
Workaround linker error: memory exhausted
By disabling LTO for `%ix86` architecture. This is the error: ``` /usr/bin/ld: /tmp/lto-llvm-a7a7f6.o: error adding symbols: memory exhausted ```
This commit is contained in:
parent
46cd1763db
commit
407fbaf169
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ LLVM's modified googletest sources.
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%ifarch s390 s390x
|
%ifarch s390 s390x %ix86
|
||||||
# Fails with "exceeded PCRE's backtracking limit"
|
# Fails with "exceeded PCRE's backtracking limit"
|
||||||
%global _lto_cflags %nil
|
%global _lto_cflags %nil
|
||||||
%else
|
%else
|
||||||
|
|
Loading…
Reference in a new issue