--- old/make/lib/Lib-java.base.gmk 2019-02-05 15:45:14.426734087 +0100 +++ new/make/lib/Lib-java.base.gmk 2019-02-05 15:45:14.246734086 +0100 @@ -99,7 +99,7 @@ ################################################################################ # Create the macosx security library -ifeq ($(OPENJDK_TARGET_OS), macosx) +ifeq ($(call isTargetOs, macosx), true) # JavaNativeFoundation framework not supported in static builds ifneq ($(STATIC_BUILD), true) @@ -130,7 +130,7 @@ ################################################################################ # Create the jsig library -ifeq ($(OPENJDK_TARGET_OS_TYPE), unix) +ifeq ($(call isTargetOsType, unix), true) ifeq ($(STATIC_BUILD), false) $(eval $(call SetupJdkLibrary, BUILD_LIBJSIG, \ NAME := jsig, \ @@ -205,7 +205,7 @@ ################################################################################ # Copy tzmappings file for Windows -ifeq ($(OPENJDK_TARGET_OS), windows) +ifeq ($(call isTargetOs, windows), true) $(eval $(call SetupCopyFiles, COPY_TZMAPPINGS, \ FILES := $(SUPPORT_OUTPUTDIR)/gensrc/java.base/windows/conf/tzmappings, \ DEST := $(call FindLibDirForModule, $(MODULE)), \