From 6a0cee9365793d657eaf3d6f14e509057a5f4406 Mon Sep 17 00:00:00 2001 From: Duy Tran Khanh <40482367+khanhduytran0@users.noreply.github.com> Date: Mon, 7 Jun 2021 16:30:32 +0700 Subject: [PATCH] Back to clang --- buildjdk.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildjdk.sh b/buildjdk.sh index 985a84f..b3a78be 100755 --- a/buildjdk.sh +++ b/buildjdk.sh @@ -64,9 +64,10 @@ bash ./configure \ --with-extra-cflags="$CFLAGS" \ --with-extra-cxxflags="$CFLAGS" \ --with-extra-ldflags="$LDFLAGS" \ + --disable-precompiled-headers \ --disable-warnings-as-errors \ --enable-option-checking=fatal \ - --disable-precompiled-headers \ + --with-toolchain-type=clang \ --with-jvm-variants=$JVM_VARIANTS \ --with-cups-include=$CUPS_DIR \ --with-devkit=$TOOLCHAIN \