File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ if [ "$BUILD_IOS" != "1" ]; then
3333 ln -s -f /usr/include/fontconfig $ANDROID_INCLUDE /
3434 AUTOCONF_x11arg=" --x-includes=$ANDROID_INCLUDE /X11"
3535
36- export LDFLAGS+=" -L` pwd` /dummy_libs"
36+ export LDFLAGS+=" -L` pwd` /dummy_libs -O3 "
3737
3838 sudo apt -y install systemtap-sdt-dev gcc-multilib g++-multilib libxtst-dev libasound2-dev libelf-dev libfontconfig1-dev libx11-dev
3939# Create dummy libraries so we won't have to remove them in OpenJDK makefiles
4545 platform_args=" --with-toolchain-type=clang"
4646 # --disable-precompiled-headers
4747 AUTOCONF_x11arg=" --with-x=/opt/X11/include/X11 --prefix=/usr/lib"
48- sameflags=" -arch arm64 -isysroot $thesysroot -miphoneos-version-min=12.0 -DHEADLESS=1 -I$PWD /ios-missing-include -Wno-implicit-function-declaration"
48+ sameflags=" -O3 - arch arm64 -isysroot $thesysroot -miphoneos-version-min=12.0 -DHEADLESS=1 -I$PWD /ios-missing-include -Wno-implicit-function-declaration"
4949 export CFLAGS+=" $sameflags "
5050 export CXXFLAGS=" $sameflags "
5151
You can’t perform that action at this time.
0 commit comments