VITA: Use make jobserver to control how many jobs linker can use

-flto=jobserver is present in GCC since version 7 at least
This commit is contained in:
Le Philousophe 2021-01-10 11:35:04 +01:00 committed by Eugene Sandulenko
parent 51e174f202
commit cd34eaa2c5

4
configure vendored
View File

@ -3145,8 +3145,8 @@ EOF
append_var CXXFLAGS "-mword-relocations"
append_var CXXFLAGS "-fomit-frame-pointer"
#use link time optimization to further reduce exe size
append_var CXXFLAGS "-flto=20"
append_var LDFLAGS "-flto=20"
append_var CXXFLAGS "-flto"
append_var LDFLAGS "-flto=jobserver"
#ensure verbose output during linking to prevent buildbot kills after 1200 seconds
if test "$_verbose_build" = yes ; then
append_var LDFLAGS "-Wl,-v --verbose"