From 999c9985fb0c9db014d154a82b3a75a316b4a508 Mon Sep 17 00:00:00 2001 From: khanhduytran0 Date: Wed, 16 Sep 2020 18:47:38 +0700 Subject: [PATCH] Attempt fix build wrong target... --- buildjdk.sh | 2 +- termux-openjdk-aarch64-patches/jdk/libpthread.patch | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/buildjdk.sh b/buildjdk.sh index c768189..c3a9891 100755 --- a/buildjdk.sh +++ b/buildjdk.sh @@ -21,9 +21,9 @@ rm -rf build # --build=x86_64-linux-gnu \ # --hostt=aarch64-linux-android \ # --with-toolchain-type=clang \ +# --with-cpu-port=arm64 \ bash ./configure \ - --with-cpu-port=arm64 \ --enable-option-checking=fatal \ --openjdk-target=aarch64-linux-android \ --disable-warnings-as-errors \ diff --git a/termux-openjdk-aarch64-patches/jdk/libpthread.patch b/termux-openjdk-aarch64-patches/jdk/libpthread.patch index 08f236c..cbd69b8 100644 --- a/termux-openjdk-aarch64-patches/jdk/libpthread.patch +++ b/termux-openjdk-aarch64-patches/jdk/libpthread.patch @@ -8,11 +8,7 @@ + LIBAWT_XAWT_LIBS := $(LIBM) $(LIBDL) -ljava -ljvm -lc ifeq ($(OPENJDK_TARGET_OS), linux) -- LIBAWT_XAWT_LIBS += -lpthread -+ LIBAWT_XAWT_LIBS += -lc - endif - - ifeq ($(TOOLCHAIN_TYPE), gcc) + LIBAWT_XAWT_LIBS += -lpthread @@ -939,7 +939,7 @@ LIBSPLASHSCREEN_LDFLAGS := -delayload:user32.dll LIBSPLASHSCREEN_LIBS += kernel32.lib user32.lib gdi32.lib delayimp.lib $(WIN_JAVA_LIB) jvm.lib