Enable LTO on a travis job.

With GCC 9, enabling LTO no longer causes the boost unit tests to segfault and also doesn't increase the build time to the point that a full rebuild times out.
This commit is contained in:
Pentarctagon 2020-05-10 02:36:57 -05:00
parent 6eeab88c5e
commit 89393670c3
No known key found for this signature in database
GPG key ID: 29E48D667D52CCF3

View file

@ -55,7 +55,7 @@ jobs:
- env: TOOL=scons NLS=true IMAGE=flatpak BRANCH=master
- compiler: gcc
env: TOOL=scons CXXSTD=17 NLS=false IMAGE=2004 BRANCH=master CFG=release VALIDATE=true
env: TOOL=scons CXXSTD=17 NLS=false IMAGE=2004 BRANCH=master CFG=release VALIDATE=true LTO=true
- compiler: gcc
env: TOOL=scons CXXSTD=14 NLS=false IMAGE=2004 BRANCH=master CFG=debug UPLOAD=true