From e317e7aa50f880ad24c1afb4be30beca671f1f20 Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Tue, 4 Aug 2020 23:24:35 +0100 Subject: Disable LTO on Android Build breaks with it enabled --- android/compile.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/android/compile.sh b/android/compile.sh index 632026d40..f6371d8c7 100755 --- a/android/compile.sh +++ b/android/compile.sh @@ -99,5 +99,6 @@ cd $BUILDDIR -DANDROID_ABI="$1" \ -DANDROID_NATIVE_API_LEVEL="$APILEVEL" \ -DCMAKE_BUILD_TYPE="$TYPE" + -DWHOLE_PROGRAM_OPTIMISATION=No make -j "$THREADS" -- cgit v1.2.3