From 0e1256c9ac3778bf996efcfeee1e4eefdccfcf8d Mon Sep 17 00:00:00 2001 From: Duy Tran Khanh <40482367+khanhduytran0@users.noreply.github.com> Date: Fri, 11 Jun 2021 09:09:41 +0700 Subject: [PATCH] Enable headless only --- buildjdk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildjdk.sh b/buildjdk.sh index 483d19a..b378991 100755 --- a/buildjdk.sh +++ b/buildjdk.sh @@ -61,7 +61,6 @@ cd openjdk # --with-extra-cxxflags="$CXXFLAGS -Dchar16_t=uint16_t -Dchar32_t=uint32_t" \ # --with-extra-cflags="$CPPFLAGS" \ # --with-sysroot="$(xcrun --sdk iphoneos --show-sdk-path)" \ -# --enable-headless-only=yes \ bash ./configure \ --openjdk-target=$TARGET_PHYS \ @@ -71,6 +70,7 @@ bash ./configure \ --disable-precompiled-headers \ --disable-warnings-as-errors \ --enable-option-checking=fatal \ + --enable-headless-only=yes \ --with-toolchain-type=gcc \ --with-jvm-variants=$JVM_VARIANTS \ --with-cups-include=$CUPS_DIR \