mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-27 03:10:37 +00:00
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:
parent
51e174f202
commit
cd34eaa2c5
4
configure
vendored
4
configure
vendored
@ -3145,8 +3145,8 @@ EOF
|
|||||||
append_var CXXFLAGS "-mword-relocations"
|
append_var CXXFLAGS "-mword-relocations"
|
||||||
append_var CXXFLAGS "-fomit-frame-pointer"
|
append_var CXXFLAGS "-fomit-frame-pointer"
|
||||||
#use link time optimization to further reduce exe size
|
#use link time optimization to further reduce exe size
|
||||||
append_var CXXFLAGS "-flto=20"
|
append_var CXXFLAGS "-flto"
|
||||||
append_var LDFLAGS "-flto=20"
|
append_var LDFLAGS "-flto=jobserver"
|
||||||
#ensure verbose output during linking to prevent buildbot kills after 1200 seconds
|
#ensure verbose output during linking to prevent buildbot kills after 1200 seconds
|
||||||
if test "$_verbose_build" = yes ; then
|
if test "$_verbose_build" = yes ; then
|
||||||
append_var LDFLAGS "-Wl,-v --verbose"
|
append_var LDFLAGS "-Wl,-v --verbose"
|
||||||
|
Loading…
Reference in New Issue
Block a user