mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-09-10 12:47:00 -04:00
test: use lto mode
This commit is contained in:
parent
6d6dddb811
commit
c228232dbc
@ -45,7 +45,7 @@ else
|
|||||||
platform_args="--with-toolchain-type=clang"
|
platform_args="--with-toolchain-type=clang"
|
||||||
# --disable-precompiled-headers
|
# --disable-precompiled-headers
|
||||||
AUTOCONF_x11arg="--with-x=/opt/X11/include/X11 --prefix=/usr/lib"
|
AUTOCONF_x11arg="--with-x=/opt/X11/include/X11 --prefix=/usr/lib"
|
||||||
sameflags="-arch arm64 -isysroot $thesysroot -miphoneos-version-min=12.0 -DHEADLESS=1 -I$PWD/ios-missing-include -Wno-implicit-function-declaration"
|
sameflags="-arch arm64 -isysroot $thesysroot -miphoneos-version-min=12.0 -DHEADLESS=1 -I$PWD/ios-missing-include -Wno-implicit-function-declaration -flto"
|
||||||
export CFLAGS+=" $sameflags"
|
export CFLAGS+=" $sameflags"
|
||||||
export CXXFLAGS="$sameflags"
|
export CXXFLAGS="$sameflags"
|
||||||
export LDFLAGS+=" -miphoneos-version-min=12.0"
|
export LDFLAGS+=" -miphoneos-version-min=12.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user