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:
Konrad Kleine 2022-03-01 11:13:53 +01:00
parent 46cd1763db
commit 407fbaf169

View file

@ -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