mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-09-09 12:20:29 -04:00
Test: link time optimization
This commit is contained in:
parent
316f536416
commit
bb2e8a7bba
@ -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 \
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user