From 1fcf44cd9bbbfb4b1891a2c49af484e608b00f83 Mon Sep 17 00:00:00 2001 From: Eva Isabella Luna Date: Wed, 28 May 2025 13:50:53 -0600 Subject: [PATCH] [JDK 17/21] Remove -DTARGET_OS_OSX Can't find any usages of TARGET_OS_OSX in JDK 17 or 21's code, and have tested locally with JDK 17 and it works as intended. JDK 21 is still unable to build, working on it. --- 6_buildjdk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/6_buildjdk.sh b/6_buildjdk.sh index 30f04b1..81319cd 100755 --- a/6_buildjdk.sh +++ b/6_buildjdk.sh @@ -72,7 +72,7 @@ else --with-freetype=bundled \ " AUTOCONF_x11arg="--with-x=/opt/X11/include/X11 --prefix=/usr/lib" - sameflags="-arch arm64 -DHEADLESS=1 -I$PWD/ios-missing-include -Wno-implicit-function-declaration -DTARGET_OS_OSX" + sameflags="-arch arm64 -DHEADLESS=1 -I$PWD/ios-missing-include -Wno-implicit-function-declaration" export CFLAGS+=" $sameflags" export LDFLAGS+="-arch arm64" export BUILD_SYSROOT_CFLAGS="-isysroot ${themacsysroot}"