Skip to content

Commit

Permalink
Change MACOSX_VERSION_MIN to 10.9.0 for OpenJ9 JDK8
Browse files Browse the repository at this point in the history
For OpenJ9 JDK8 on OSX, the JIT can't be built with MACOSX_VERSION_MIN
<= 10.8.0 using Xcode7. JIT needs libc++ which is only available when
MACOSX_VERSION_MIN is set to 10.9.0 or greater. With MACOSX_VERSION_MIN
<= 10.8.0, the Xcode7 build tools only provide stdlibc++, which can't
be used to build the JIT.

Thus, changing MACOSX_VERSION_MIN from 10.7.0 to 10.9.0 in order to
support the JIT when building OpenJ9 JDK8 on OSX.

Signed-off-by: Babneet Singh <[email protected]>
  • Loading branch information
babsingh committed Nov 9, 2018
1 parent 8809ae5 commit ba08e74
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion common/autoconf/flags.m4
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
# newer than the given OS version and makes the linked binaries compatible
# even if built on a newer version of the OS.
# The expected format is X.Y.Z
MACOSX_VERSION_MIN=10.7.0
MACOSX_VERSION_MIN=10.9.0
AC_SUBST(MACOSX_VERSION_MIN)
# The macro takes the version with no dots, ex: 1070
Expand Down
4 changes: 2 additions & 2 deletions common/autoconf/generated-configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4336,7 +4336,7 @@ VS_SDK_PLATFORM_NAME_2017=
#CUSTOM_AUTOCONF_INCLUDE

# Do not change or remove the following line, it is needed for consistency checks:
DATE_WHEN_GENERATED=1541112610
DATE_WHEN_GENERATED=1541800347

###############################################################################
#
Expand Down Expand Up @@ -41771,7 +41771,7 @@ $as_echo "$supports" >&6; }
# newer than the given OS version and makes the linked binaries compatible
# even if built on a newer version of the OS.
# The expected format is X.Y.Z
MACOSX_VERSION_MIN=10.7.0
MACOSX_VERSION_MIN=10.9.0


# The macro takes the version with no dots, ex: 1070
Expand Down
4 changes: 2 additions & 2 deletions jdk/make/closed/autoconf/generated-configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4447,7 +4447,7 @@ VS_SDK_PLATFORM_NAME_2017=


# Do not change or remove the following line, it is needed for consistency checks:
DATE_WHEN_GENERATED=1541112610
DATE_WHEN_GENERATED=1541800347

###############################################################################
#
Expand Down Expand Up @@ -43915,7 +43915,7 @@ $as_echo "$supports" >&6; }
# newer than the given OS version and makes the linked binaries compatible
# even if built on a newer version of the OS.
# The expected format is X.Y.Z
MACOSX_VERSION_MIN=10.7.0
MACOSX_VERSION_MIN=10.9.0


# The macro takes the version with no dots, ex: 1070
Expand Down

0 comments on commit ba08e74

Please sign in to comment.