More macosx version fixes. ihse-cflags-rewrite-branch
authorihse
Mon, 26 Feb 2018 10:56:18 +0100
branchihse-cflags-rewrite-branch
changeset 56173 d70e19fc211f
parent 56172 e18d3ca0f32f
child 56174 4ebba44845d6
More macosx version fixes.
make/autoconf/flags-ldflags.m4
make/autoconf/flags.m4
--- a/make/autoconf/flags-ldflags.m4	Mon Feb 26 10:50:19 2018 +0100
+++ b/make/autoconf/flags-ldflags.m4	Mon Feb 26 10:56:18 2018 +0100
@@ -126,7 +126,7 @@
       # Assume clang or gcc.
       # FIXME: We should really generalize SET_SHARED_LIBRARY_ORIGIN instead.
       OS_LDFLAGS_JVM_ONLY="-Wl,-rpath,@loader_path/. -Wl,-rpath,@loader_path/.."
-      OS_LDFLAGS_JDK_ONLY="-mmacosx-version-min=\$(MACOSX_VERSION_MIN)"
+      OS_LDFLAGS_JDK_ONLY="-mmacosx-version-min=$MACOSX_VERSION_MIN"
     fi
   fi
 
--- a/make/autoconf/flags.m4	Mon Feb 26 10:50:19 2018 +0100
+++ b/make/autoconf/flags.m4	Mon Feb 26 10:56:18 2018 +0100
@@ -431,7 +431,7 @@
    ############## ARFLAGS
   # Additional macosx handling
   if test "x$OPENJDK_TARGET_OS" = xmacosx; then
-    ARFLAGS="$ARFLAGS -mmacosx-version-min=\$(MACOSX_VERSION_MIN)"
+    ARFLAGS="$ARFLAGS -mmacosx-version-min=$MACOSX_VERSION_MIN"
   fi
 
    ############## ASFLAGS