Fix aarch32 JRE17 builds

This commit is contained in:
ArtDev 2022-05-12 22:19:00 +03:00 committed by GitHub
commit 26218412d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,9 +5,9 @@ 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 CFLAGS+=" -O3 -D__thumb__"
else
export CFLAGS+=" -O3"
fi