mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-09-09 04:08:01 -04:00
change the constant place
This commit is contained in:
parent
d2a7e8f9a4
commit
9bd2b35228
@ -1,6 +1,6 @@
|
|||||||
# Use the old NDK r10e to not get internal compile error at (still?)
|
# Use the old NDK r10e to not get internal compile error at (still?)
|
||||||
# https://github.com/PojavLauncherTeam/openjdk-multiarch-jdk8u/blob/aarch64-shenandoah-jdk8u272-b10/jdk/src/share/native/sun/java2d/loops/GraphicsPrimitiveMgr.c
|
# https://github.com/PojavLauncherTeam/openjdk-multiarch-jdk8u/blob/aarch64-shenandoah-jdk8u272-b10/jdk/src/share/native/sun/java2d/loops/GraphicsPrimitiveMgr.c
|
||||||
export NDK_VERSION=r21
|
|
||||||
|
|
||||||
if [ -z "$BUILD_FREETYPE_VERSION" ]
|
if [ -z "$BUILD_FREETYPE_VERSION" ]
|
||||||
then
|
then
|
||||||
@ -46,8 +46,7 @@ else
|
|||||||
export JVM_PLATFORM=linux
|
export JVM_PLATFORM=linux
|
||||||
# Set NDK
|
# Set NDK
|
||||||
export API=21
|
export API=21
|
||||||
export NDK=$PWD/android-ndk-$NDK_VERSION
|
|
||||||
export ANDROID_NDK_ROOT=$NDK
|
|
||||||
export TOOLCHAIN=$NDK/generated-toolchains/android-${TARGET_SHORT}-toolchain
|
export TOOLCHAIN=$NDK/generated-toolchains/android-${TARGET_SHORT}-toolchain
|
||||||
# export TOOLCHAIN=$NDK/toolchains/llvm/prebuilt/linux-x86_64
|
# export TOOLCHAIN=$NDK/toolchains/llvm/prebuilt/linux-x86_64
|
||||||
|
|
||||||
|
@ -1,9 +1,14 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
#Setup the ndk according to the selected version
|
#Setup the ndk according to the selected version
|
||||||
|
export NDK_VERSION=r21
|
||||||
|
export NDK=$PWD/android-ndk-$NDK_VERSION
|
||||||
|
export ANDROID_NDK_ROOT=$NDK
|
||||||
|
|
||||||
|
|
||||||
wget -nc -nv -O android-ndk-$NDK_VERSION-linux-x86_64.zip "https://dl.google.com/android/repository/android-ndk-$NDK_VERSION-linux-x86_64.zip"
|
wget -nc -nv -O android-ndk-$NDK_VERSION-linux-x86_64.zip "https://dl.google.com/android/repository/android-ndk-$NDK_VERSION-linux-x86_64.zip"
|
||||||
|
|
||||||
unzip -q android-ndk-$NDK_VERSION-linux-x86_64.zip
|
unzip -q android-ndk-$NDK_VERSION-linux-x86_64.zip
|
||||||
|
|
||||||
./maketoolchain.sh
|
./maketoolchain.sh
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user