summaryrefslogtreecommitdiffstats
path: root/travisbuild.sh
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-05-31 21:26:50 +0200
committerGitHub <noreply@github.com>2020-05-31 21:26:50 +0200
commit8b0b80000818199ea623897b1ad3705b657983c6 (patch)
treed52100871d18e4e296c9ecf1592be0a1e175cfd3 /travisbuild.sh
parentResolve IPO flags mismatch (diff)
downloadcuberite-8b0b80000818199ea623897b1ad3705b657983c6.tar
cuberite-8b0b80000818199ea623897b1ad3705b657983c6.tar.gz
cuberite-8b0b80000818199ea623897b1ad3705b657983c6.tar.bz2
cuberite-8b0b80000818199ea623897b1ad3705b657983c6.tar.lz
cuberite-8b0b80000818199ea623897b1ad3705b657983c6.tar.xz
cuberite-8b0b80000818199ea623897b1ad3705b657983c6.tar.zst
cuberite-8b0b80000818199ea623897b1ad3705b657983c6.zip
Diffstat (limited to 'travisbuild.sh')
-rwxr-xr-xtravisbuild.sh5
1 files changed, 3 insertions, 2 deletions
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..."