Attempt fix build wrong target...

This commit is contained in:
khanhduytran0 2020-09-16 18:47:38 +07:00
parent 15cac1044a
commit 999c9985fb
2 changed files with 2 additions and 6 deletions

View File

@ -21,9 +21,9 @@ rm -rf build
# --build=x86_64-linux-gnu \ # --build=x86_64-linux-gnu \
# --hostt=aarch64-linux-android \ # --hostt=aarch64-linux-android \
# --with-toolchain-type=clang \ # --with-toolchain-type=clang \
# --with-cpu-port=arm64 \
bash ./configure \ bash ./configure \
--with-cpu-port=arm64 \
--enable-option-checking=fatal \ --enable-option-checking=fatal \
--openjdk-target=aarch64-linux-android \ --openjdk-target=aarch64-linux-android \
--disable-warnings-as-errors \ --disable-warnings-as-errors \

View File

@ -8,11 +8,7 @@
+ LIBAWT_XAWT_LIBS := $(LIBM) $(LIBDL) -ljava -ljvm -lc + LIBAWT_XAWT_LIBS := $(LIBM) $(LIBDL) -ljava -ljvm -lc
ifeq ($(OPENJDK_TARGET_OS), linux) ifeq ($(OPENJDK_TARGET_OS), linux)
- LIBAWT_XAWT_LIBS += -lpthread LIBAWT_XAWT_LIBS += -lpthread
+ LIBAWT_XAWT_LIBS += -lc
endif
ifeq ($(TOOLCHAIN_TYPE), gcc)
@@ -939,7 +939,7 @@ @@ -939,7 +939,7 @@
LIBSPLASHSCREEN_LDFLAGS := -delayload:user32.dll LIBSPLASHSCREEN_LDFLAGS := -delayload:user32.dll
LIBSPLASHSCREEN_LIBS += kernel32.lib user32.lib gdi32.lib delayimp.lib $(WIN_JAVA_LIB) jvm.lib LIBSPLASHSCREEN_LIBS += kernel32.lib user32.lib gdi32.lib delayimp.lib $(WIN_JAVA_LIB) jvm.lib