From af1b27cdb072a98eea1f8e5ca92e887b096affac Mon Sep 17 00:00:00 2001 From: Duy Tran Khanh <40482367+khanhduytran0@users.noreply.github.com> Date: Wed, 30 Jun 2021 16:18:35 +0700 Subject: [PATCH] Update buildjdk.sh --- buildjdk.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/buildjdk.sh b/buildjdk.sh index a379b5a..c1d56bd 100755 --- a/buildjdk.sh +++ b/buildjdk.sh @@ -2,13 +2,6 @@ set -e . 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 CUPS_DIR=$PWD/cups-2.2.4 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)" \ bash ./configure \ - --openjdk-target=$TARGET_PHYS \ + --openjdk-target=$TARGET \ --with-extra-cflags="$CFLAGS" \ --with-extra-cxxflags="$CFLAGS" \ --with-extra-ldflags="$LDFLAGS" \