Test: link time optimization

This commit is contained in:
Boulay Mathias 2023-05-03 00:08:17 +02:00 committed by GitHub
parent 316f536416
commit bb2e8a7bba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -92,15 +92,15 @@ fi
bash ./configure \
--openjdk-target=$TARGET \
--with-extra-cflags="$CFLAGS" \
--with-extra-cxxflags="$CFLAGS" \
--with-extra-ldflags="$LDFLAGS" \
--with-extra-cflags=" -flto $CFLAGS" \
--with-extra-cxxflags=" -flto $CFLAGS" \
--with-extra-ldflags=" -flto $LDFLAGS" \
--disable-precompiled-headers \
--disable-warnings-as-errors \
--enable-option-checking=fatal \
--enable-headless-only=yes \
--with-jvm-variants=$JVM_VARIANTS \
--with-jvm-features=-dtrace,-zero,-vm-structs,-epsilongc \
--with-jvm-features=-dtrace,-zero,-vm-structs,-epsilongc,link-time-opt \
--with-cups-include=$CUPS_DIR \
--with-devkit=$TOOLCHAIN \
--with-debug-level=$JDK_DEBUG_LEVEL \

View File

@ -1,6 +1,6 @@
# Use the old NDK r10e to not get internal compile error at (still?)
# https://github.com/PojavLauncherTeam/openjdk-multiarch-jdk8u/blob/aarch64-shenandoah-jdk8u272-b10/jdk/src/share/native/sun/java2d/loops/GraphicsPrimitiveMgr.c
export NDK_VERSION=r22b
export NDK_VERSION=r21
if [ -z "$BUILD_FREETYPE_VERSION" ]
then