Force client and -O2 on arm32

This commit is contained in:
ArtDev 2022-05-06 22:21:51 +03:00 committed by GitHub
parent 31c46a6fec
commit 0107f79460
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,9 +5,10 @@ set -e
export FREETYPE_DIR=$PWD/freetype-$BUILD_FREETYPE_VERSION/build_android-$TARGET_SHORT
export CUPS_DIR=$PWD/cups-2.2.4
export CFLAGS+=" -DLE_STANDALONE -DANDROID" # -I$FREETYPE_DIR -I$CUPS_DI
if [ "$TARGET_JDK" == "aarch32" ]
if [ "$TARGET_JDK" == "arm" ]
then
export CFLAGS+=" -O2"
export JVM_VARIANTS=client
else
export CFLAGS+=" -O3"
fi