diff options
Diffstat (limited to 'scripts/buildtests.sh')
-rwxr-xr-x | scripts/buildtests.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/buildtests.sh b/scripts/buildtests.sh index 668c6918..7cb3d988 100755 --- a/scripts/buildtests.sh +++ b/scripts/buildtests.sh @@ -253,7 +253,7 @@ CPPCHECK() { -D gmtime_r="" \ -D size_t="unsigned long" \ -D bswap32="" \ - -D PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP="" \ + -D PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP=0 \ -D _unused="(void)" \ -D _deprecated="(void)" \ -D F_OK=0 \ @@ -479,6 +479,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 @@ -495,6 +496,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" @@ -508,6 +510,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" |