From 8b0b80000818199ea623897b1ad3705b657983c6 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sun, 31 May 2020 20:26:50 +0100 Subject: Configurable LTO (#4755) --- travisbuild.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'travisbuild.sh') diff --git a/travisbuild.sh b/travisbuild.sh index 5c4a559bb..d1a535e72 100755 --- a/travisbuild.sh +++ b/travisbuild.sh @@ -20,12 +20,13 @@ if [ `which ccache` ]; then ccache -z # Zero statistics fi -# Work around a Clang + ccache issue with failing -# builds by disabling precompiled headers +# Work around a Clang + ccache issue with failing builds by disabling +# precompiled headers. Turn off LTO for faster build speeds cmake . -DBUILD_TOOLS=YES \ -DPRECOMPILE_HEADERS=NO \ -DUNITY_BUILDS=${TRAVIS_CUBERITE_UNITY_BUILDS-YES} \ -DSELF_TEST=YES \ + -DWHOLE_PROGRAM_OPTIMISATION=No \ ${CACHE_ARGS}; echo "Building..." -- cgit v1.2.3