With GNU BFD ld linker, 4 GB RAM per worker on ABF really is not enough, linking takes ages. So let's try lld on x86_64.

This commit is contained in:
Mikhail Novosyolov 2018-10-24 15:39:28 +03:00
parent 5310027d75
commit 0855286d40

View file

@ -407,7 +407,9 @@ export LDFLAGS="$LDFLAGS -Wl,-znotext"
%else
%ifarch x86_64
# If both gold and lld are false, GNU BFD ld is used.
%define linker_args use_gold=false use_lld=false is_cfi=false use_thin_lto=false
#define linker_args use_gold=false use_lld=false is_cfi=false use_thin_lto=false
# With GNU BFD ld linker, 4 GB RAM per worker on ABF really is not enough, linking takes ages
%define linker_args use_lld=true
%endif
%endif