changeset 49622:69c6eb97297f

8196724: Change macosx deployment target to 10.9 Reviewed-by: tbell, gziemski
author erikj
date Wed, 04 Apr 2018 16:13:30 -0700
parents 3930c4d4f805
children 171e0beb4ff1
files make/autoconf/flags-ldflags.m4 make/autoconf/flags.m4 make/conf/jib-profiles.js make/lib/Awt2dLibraries.gmk make/lib/Lib-java.desktop.gmk
diffstat 5 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/make/autoconf/flags-ldflags.m4	Wed Apr 04 14:42:53 2018 -0700
+++ b/make/autoconf/flags-ldflags.m4	Wed Apr 04 16:13:30 2018 -0700
@@ -81,7 +81,7 @@
 
   elif test "x$TOOLCHAIN_TYPE" = xclang; then
     BASIC_LDFLAGS_JVM_ONLY="-mno-omit-leaf-frame-pointer -mstack-alignment=16 \
-        -stdlib=libstdc++ -fPIC"
+        -stdlib=libc++ -fPIC"
 
   elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
     BASIC_LDFLAGS="-Wl,-z,defs"
--- a/make/autoconf/flags.m4	Wed Apr 04 14:42:53 2018 -0700
+++ b/make/autoconf/flags.m4	Wed Apr 04 16:13:30 2018 -0700
@@ -116,7 +116,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
     MACOSX_VERSION_MIN_NODOTS=${MACOSX_VERSION_MIN//\./}
 
     AC_SUBST(MACOSX_VERSION_MIN)
--- a/make/conf/jib-profiles.js	Wed Apr 04 14:42:53 2018 -0700
+++ b/make/conf/jib-profiles.js	Wed Apr 04 16:13:30 2018 -0700
@@ -432,7 +432,7 @@
             target_cpu: "x64",
             dependencies: ["devkit", "autoconf"],
             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": {
--- a/make/lib/Awt2dLibraries.gmk	Wed Apr 04 14:42:53 2018 -0700
+++ b/make/lib/Awt2dLibraries.gmk	Wed Apr 04 16:13:30 2018 -0700
@@ -993,6 +993,7 @@
           -I$(TOPDIR)/src/java.base/share/native/libjava \
           -I$(TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS_TYPE)/native/libjava \
           -I$(SUPPORT_OUTPUTDIR)/headers/java.desktop,  \
+      DISABLED_WARNINGS_clang := deprecated-declarations, \
       LDFLAGS := $(LDFLAGS_JDKLIB) \
           $(call SET_SHARED_LIBRARY_ORIGIN) \
           -Wl$(COMMA)-rpath$(COMMA)@loader_path \
--- a/make/lib/Lib-java.desktop.gmk	Wed Apr 04 14:42:53 2018 -0700
+++ b/make/lib/Lib-java.desktop.gmk	Wed Apr 04 16:13:30 2018 -0700
@@ -105,7 +105,8 @@
       CFLAGS := $(CFLAGS_JDKLIB) \
           $(addprefix -I, $(LIBOSXAPP_SRC)) \
           -I$(SUPPORT_OUTPUTDIR)/headers/java.desktop, \
-      DISABLED_WARNINGS_clang := objc-method-access objc-root-class, \
+      DISABLED_WARNINGS_clang := objc-method-access objc-root-class \
+          deprecated-declarations, \
       LDFLAGS := $(LDFLAGS_JDKLIB) \
           $(call SET_SHARED_LIBRARY_ORIGIN), \
       LIBS := \