From 5ba07ed50f5d49f132c829fa9e1a36ae52ac779b Mon Sep 17 00:00:00 2001 From: Zion Nimchuk Date: Thu, 19 Mar 2020 00:22:42 -0700 Subject: [PATCH] Partially revert 6ec149d. Fixes #7799 Turns out linking with LTO still doesn't play nice with Qt. For reference: https://github.com/InBetweenNames/gentooLTO/issues/444 https://bugreports.qt.io/browse/QTBUG-61710 --- .travis/build-linux.bash | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis/build-linux.bash b/.travis/build-linux.bash index 285cdba326..092584a0fd 100644 --- a/.travis/build-linux.bash +++ b/.travis/build-linux.bash @@ -33,8 +33,7 @@ else export RANLIB=/usr/bin/llvm-ranlib-$LLVMVER fi -# Use link time optimization to save some space -export CFLAGS="-flto -fuse-linker-plugin -fuse-ld=${LINKER}" +export CFLAGS="-fuse-linker-plugin -fuse-ld=${LINKER}" cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_LLVM_SUBMODULE=OFF -DUSE_COTIRE=OFF -DLLVM_DIR=llvmlibs/lib/cmake/llvm/ -DUSE_NATIVE_INSTRUCTIONS=OFF \ -DCMAKE_C_FLAGS="$CFLAGS" -DCMAKE_CXX_FLAGS="$CFLAGS" -DCMAKE_AR=$AR -DCMAKE_RANLIB=$RANLIB \