diff --git a/hotspot/make/Dist.gmk b/hotspot/make/Dist.gmk index bfe3daf20624c20ef076fef09d1fa2df737c0999..710de55960c7a77bc3f93b70b258eead80d54347 100644 --- a/hotspot/make/Dist.gmk +++ b/hotspot/make/Dist.gmk @@ -45,15 +45,6 @@ else LIB_SUBDIR := lib$(OPENJDK_TARGET_CPU_LIBDIR) endif -################################################################################ -# Functions to setup copying of files for variants - -# Support macro for SetupDistLibFile -define macosx_universalize - $(MKDIR) -p $(@D) - $(LIPO) -create -output $@ $< -endef - ################################################################################ # Setup make rules to copy a native library and associated data. # @@ -74,16 +65,9 @@ define SetupDistLibFileBody $1_LIB_NAME := $(LIBRARY_PREFIX)$$($1_NAME) $1_TARGET_DIR := $$(DIST_OUTPUTDIR)/$$(LIB_SUBDIR)/$$($1_VARIANT_TARGET_DIR) - ifeq ($(OPENJDK_TARGET_OS), macosx) - # We must use the 'universalize' macro to run lipo on shared libraries, at - # least until JDK-8069540 is fixed. - $1_MACRO := macosx_universalize - endif - # Copy the the native library. $$(eval $$(call SetupCopyFiles, $1_COPY_LIB, \ DEST := $$($1_TARGET_DIR), \ - MACRO := $$($1_MACRO), \ FILES := $$(wildcard \ $$($1_SRC_DIR)/$$($1_LIB_NAME)$(SHARED_LIBRARY_SUFFIX)), \ ))