mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-09-10 04:37:37 -04:00
Update buildjdk.sh
This commit is contained in:
parent
a081eec20a
commit
af1b27cdb0
@ -2,13 +2,6 @@
|
|||||||
set -e
|
set -e
|
||||||
. setdevkitpath.sh
|
. setdevkitpath.sh
|
||||||
|
|
||||||
if [ "$TARGET_JDK" == "arm_DISABLEDCHECK" ]
|
|
||||||
then
|
|
||||||
export JVM_VARIANTS=client
|
|
||||||
else
|
|
||||||
export TARGET_PHYS=$TARGET
|
|
||||||
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 -DANDROID" # -I$FREETYPE_DIR -I$CUPS_DI
|
export CFLAGS+=" -DLE_STANDALONE -DANDROID" # -I$FREETYPE_DIR -I$CUPS_DI
|
||||||
@ -62,7 +55,7 @@ cd openjdk
|
|||||||
# --with-sysroot="$(xcrun --sdk iphoneos --show-sdk-path)" \
|
# --with-sysroot="$(xcrun --sdk iphoneos --show-sdk-path)" \
|
||||||
|
|
||||||
bash ./configure \
|
bash ./configure \
|
||||||
--openjdk-target=$TARGET_PHYS \
|
--openjdk-target=$TARGET \
|
||||||
--with-extra-cflags="$CFLAGS" \
|
--with-extra-cflags="$CFLAGS" \
|
||||||
--with-extra-cxxflags="$CFLAGS" \
|
--with-extra-cxxflags="$CFLAGS" \
|
||||||
--with-extra-ldflags="$LDFLAGS" \
|
--with-extra-ldflags="$LDFLAGS" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user