mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-27 21:33:41 +00:00
Make LTO controllable via travis env variable.
(cherry-picked from commit 66caa190f6dcde039cc5cb73e4f43a061aef43b8)
This commit is contained in:
parent
58a61af5f9
commit
4bb16f25a7
@ -8,15 +8,15 @@ export PLAY_TEST=true
|
||||
export MP_TEST=true
|
||||
export WML_TEST_TIME=15
|
||||
export BOOST_TEST=true
|
||||
export LTO=false
|
||||
|
||||
if [ "$OPT" = "-O0" ]; then
|
||||
export EXTRA_FLAGS_RELEASE="-O0"
|
||||
export PLAY_TEST=false
|
||||
export MP_TEST=false
|
||||
export WML_TEST_TIME=20
|
||||
else
|
||||
# change to true to enable LTO on optimized, non-xcode builds
|
||||
fi
|
||||
|
||||
if [ "$LTO" == "" ]; then
|
||||
export LTO=false
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user