# HG changeset patch
# User ihse
# Date 1519638619 -3600
# Node ID e18d3ca0f32f77d6aee7c34d6a0815deb332bb9c
# Parent  e97310213377589fd6f72fdde4fec58db396b08d
*duh*

diff -r e97310213377 -r e18d3ca0f32f make/autoconf/flags.m4
--- a/make/autoconf/flags.m4	Mon Feb 26 10:47:52 2018 +0100
+++ b/make/autoconf/flags.m4	Mon Feb 26 10:50:19 2018 +0100
@@ -340,7 +340,7 @@
 AC_DEFUN([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
 [
   # Additional macosx handling
-  if test "x$FLAGS_OS" = xmacosx; then
+  if test "x$OPENJDK_TARGET_OS" = xmacosx; then
     # MACOSX_VERSION_MIN specifies the lowest version of Macosx that the built
     # binaries should be compatible with, even if compiled on a newer version
     # of the OS. It currently has a hard coded value. Setting this also limits