From 395ca6f9a80b92d1cb779c2c533fa3b7ac13ae8c Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Fri, 27 Sep 2019 15:29:33 +0000 Subject: [PATCH] Disable AoT except on amd64 This should be a no-op for all platforms except aarch64. AoT is disabled on aarch64 due to crashes in internal JDK tests for that feature. --- java/openjdk11/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/java/openjdk11/Makefile b/java/openjdk11/Makefile index f15a592d5447..7af53edbe51f 100644 --- a/java/openjdk11/Makefile +++ b/java/openjdk11/Makefile @@ -132,6 +132,9 @@ MAKE_ENV+= USE_CLANG=true CONFIGURE_ARGS+= --disable-warnings-as-errors \ --disable-dtrace .endif +.if ${ARCH} != amd64 +CONFIGURE_ARGS+= --enable-aot=no +.endif .if empty(ICONV_LIB) ICONV_CFLAGS= -DLIBICONV_PLUG