mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-09-08 11:50:34 -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"
|
||||
# --disable-precompiled-headers
|
||||
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 CXXFLAGS="$sameflags"
|
||||
export LDFLAGS+=" -miphoneos-version-min=12.0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user