[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.
This commit is contained in:
Eva Isabella Luna 2025-05-28 13:50:53 -06:00 committed by GitHub
parent 0ee40ef022
commit 1fcf44cd9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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}"