update to ndk r21, use clang

This commit is contained in:
Duy Tran Khanh 2021-06-05 09:51:21 +07:00
parent 56a75873fa
commit 7a88de6c22
2 changed files with 3 additions and 2 deletions

View File

@ -65,6 +65,7 @@ bash ./configure \
--with-extra-cxxflags="$CFLAGS" \
--with-extra-ldflags="$LDFLAGS" \
--enable-option-checking=fatal \
--with-toolchain-type=clang \
--with-jvm-variants=$JVM_VARIANTS \
--with-cups-include=$CUPS_DIR \
--with-devkit=$TOOLCHAIN \

View File

@ -1,6 +1,6 @@
# Use the old NDK r10e to not get internal compile error at
# 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
export NDK_VERSION=r10e
export NDK_VERSION=r21e
if [ -z "$BUILD_FREETYPE_VERSION" ]
then