diff -r 03ae177c26b0 make/autoconf/flags.m4 --- a/make/autoconf/flags.m4 +++ b/make/autoconf/flags.m4 @@ -1127,7 +1127,7 @@ # of the OS. It currently has a hard coded value. Setting this also limits # exposure to API changes in header files. Bumping this is likely to # require code changes to build. - MACOSX_VERSION_MIN=10.7.0 + MACOSX_VERSION_MIN=10.9.0 AC_SUBST(MACOSX_VERSION_MIN) # Setting --with-macosx-version-max= makes it an error to build or @@ -1211,7 +1211,7 @@ $2JVM_LDFLAGS="[$]$2JVM_LDFLAGS -machine:AMD64" fi elif test "x$TOOLCHAIN_TYPE" = xclang; then - $2JVM_LDFLAGS="[$]$2JVM_LDFLAGS -mno-omit-leaf-frame-pointer -mstack-alignment=16 -stdlib=libstdc++ -fPIC" + $2JVM_LDFLAGS="[$]$2JVM_LDFLAGS -mno-omit-leaf-frame-pointer -mstack-alignment=16 -stdlib=libc++ -fPIC" if test "x$OPENJDK_$1_OS" = xmacosx; then # FIXME: We should really generalize SET_SHARED_LIBRARY_ORIGIN instead. $2JVM_LDFLAGS="[$]$2JVM_LDFLAGS -Wl,-rpath,@loader_path/. -Wl,-rpath,@loader_path/.." diff -r 03ae177c26b0 make/conf/jib-profiles.js --- a/make/conf/jib-profiles.js +++ b/make/conf/jib-profiles.js @@ -431,7 +431,7 @@ target_cpu: "x64", dependencies: ["devkit", "autoconf", "freetype"], configure_args: concat(common.configure_args_64bit, "--with-zlib=system", - "--with-macosx-version-max=10.7.0"), + "--with-macosx-version-max=10.9.0"), }, "solaris-x64": {