1
0

fixup! Disable LTO on Android

This commit is contained in:
Alexander Harkness 2020-08-04 23:37:21 +01:00
parent e317e7aa50
commit 7cd6f0e01e
No known key found for this signature in database
GPG Key ID: 5187245ADF160B76

View File

@ -98,7 +98,7 @@ cd $BUILDDIR
"$CMAKE" $BASEDIR/../android -DCMAKE_TOOLCHAIN_FILE="$NDK/build/cmake/android.toolchain.cmake" \ "$CMAKE" $BASEDIR/../android -DCMAKE_TOOLCHAIN_FILE="$NDK/build/cmake/android.toolchain.cmake" \
-DANDROID_ABI="$1" \ -DANDROID_ABI="$1" \
-DANDROID_NATIVE_API_LEVEL="$APILEVEL" \ -DANDROID_NATIVE_API_LEVEL="$APILEVEL" \
-DCMAKE_BUILD_TYPE="$TYPE" -DCMAKE_BUILD_TYPE="$TYPE" \
-DWHOLE_PROGRAM_OPTIMISATION=No -DWHOLE_PROGRAM_OPTIMISATION=No
make -j "$THREADS" make -j "$THREADS"