diff --git a/buildjdk.sh b/buildjdk.sh index 00347d2..07bb34c 100755 --- a/buildjdk.sh +++ b/buildjdk.sh @@ -41,7 +41,8 @@ if [ "$BUILD_IOS" != "1" ]; then else ln -s -f /opt/X11/include/X11 $ANDROID_INCLUDE/ platform_args="--with-toolchain-type=clang" - AUTOCONF_x11arg="--with-x=/opt/X11/include/X11 --disable-precompiled-headers --prefix=/usr/lib" + # --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" export CFLAGS+=" $sameflags" export CXXFLAGS="$sameflags"