summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/buildtests.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/buildtests.sh b/scripts/buildtests.sh
index aa883c27..11d13ea0 100755
--- a/scripts/buildtests.sh
+++ b/scripts/buildtests.sh
@@ -472,6 +472,7 @@ BDIR=""
CMAKEOPTS="-DCMAKE_BUILD_TYPE=Debug -DGOBJECT_INTROSPECTION=False -DICAL_GLIB=False -DICAL_BUILD_DOCS=False"
UUCCMAKEOPTS="$CMAKEOPTS -DCMAKE_DISABLE_FIND_PACKAGE_ICU=True"
TZCMAKEOPTS="$CMAKEOPTS -DUSE_BUILTIN_TZDATA=True"
+LTOCMAKEOPTS="$CMAKEOPTS -DENABLE_LTO_BUILD=True"
#Static code checkers
KRAZY
@@ -488,6 +489,7 @@ CLANGTIDY test2builtin "$TZCMAKEOPTS"
GCC_BUILD test1 ""
GCC_BUILD test2 "$CMAKEOPTS"
GCC_BUILD test3 "$UUCCMAKEOPTS"
+GCC_BUILD test4 "$LTOCMAKEOPTS"
if (test "`uname -s`" = "Linux")
then
echo "Temporarily disable cross-compile tests"
@@ -501,6 +503,7 @@ GCC_BUILD test2builtin "$TZCMAKEOPTS"
CLANG_BUILD test1 ""
CLANG_BUILD test2 "$CMAKEOPTS"
CLANG_BUILD test3 "$UUCCMAKEOPTS"
+#CLANG_BUILD test4 "$LTOCMAKEOPTS"
if (test "`uname -s`" = "Linux")
then
echo "Temporarily disable cross-compile tests"