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 \