mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-09-09 20:25:48 -04:00
fix iOS build
This commit is contained in:
parent
89b7b6f42e
commit
c073c8cc0a
@ -13,7 +13,7 @@ fi
|
|||||||
|
|
||||||
export FREETYPE_DIR=$PWD/freetype-$BUILD_FREETYPE_VERSION/build_android-$TARGET_SHORT
|
export FREETYPE_DIR=$PWD/freetype-$BUILD_FREETYPE_VERSION/build_android-$TARGET_SHORT
|
||||||
export CUPS_DIR=$PWD/cups-2.2.4
|
export CUPS_DIR=$PWD/cups-2.2.4
|
||||||
export CFLAGS+=" -DLE_STANDALONE -Wno-error" # -I$FREETYPE_DIR -I$CUPS_DI
|
export CFLAGS+=" -DLE_STANDALONE" # -I$FREETYPE_DIR -I$CUPS_DI
|
||||||
|
|
||||||
# if [ "$TARGET_JDK" == "aarch32" ] || [ "$TARGET_JDK" == "aarch64" ]
|
# if [ "$TARGET_JDK" == "aarch32" ] || [ "$TARGET_JDK" == "aarch64" ]
|
||||||
# then
|
# then
|
||||||
@ -42,7 +42,7 @@ if [ "$BUILD_IOS" != "1" ]; then
|
|||||||
else
|
else
|
||||||
ln -s -f /opt/X11/include/X11 $ANDROID_INCLUDE/
|
ln -s -f /opt/X11/include/X11 $ANDROID_INCLUDE/
|
||||||
platform_args=--with-toolchain-type=clang
|
platform_args=--with-toolchain-type=clang
|
||||||
AUTOCONF_x11arg="--with-x=/opt/X11/include/X11 --disable-precompiled-headers --prefix=/usr/lib"
|
AUTOCONF_x11arg="--with-x=/opt/X11/include/X11 --disable-precompiled-headers --disable-zip-debug-info --prefix=/usr/lib"
|
||||||
sameflags="-arch arm64 -isysroot $thesysroot -miphoneos-version-min=12.0 -DHEADLESS=1 -I$PWD/ios-missing-include -Wno-implicit-function-declaration"
|
sameflags="-arch arm64 -isysroot $thesysroot -miphoneos-version-min=12.0 -DHEADLESS=1 -I$PWD/ios-missing-include -Wno-implicit-function-declaration"
|
||||||
export CFLAGS+=" $sameflags"
|
export CFLAGS+=" $sameflags"
|
||||||
export CXXFLAGS="$sameflags"
|
export CXXFLAGS="$sameflags"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user