Skip to content

Commit 1fcf44c

Browse files
[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.
1 parent 0ee40ef commit 1fcf44c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

6_buildjdk.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ else
7272
--with-freetype=bundled \
7373
"
7474
AUTOCONF_x11arg="--with-x=/opt/X11/include/X11 --prefix=/usr/lib"
75-
sameflags="-arch arm64 -DHEADLESS=1 -I$PWD/ios-missing-include -Wno-implicit-function-declaration -DTARGET_OS_OSX"
75+
sameflags="-arch arm64 -DHEADLESS=1 -I$PWD/ios-missing-include -Wno-implicit-function-declaration"
7676
export CFLAGS+=" $sameflags"
7777
export LDFLAGS+="-arch arm64"
7878
export BUILD_SYSROOT_CFLAGS="-isysroot ${themacsysroot}"

0 commit comments

Comments
 (0)