提交 b48812ee 编写于 作者: D ddehaven

8075400: Cannot build hotspot in jdk8u on OSX 10.10 (Yosemite)

Reviewed-by: dholmes, erikj
上级 435eb992
......@@ -349,7 +349,7 @@ ifeq ($(OS_VENDOR), Darwin)
# The macro takes the version with no dots, ex: 1070
CFLAGS += -DMAC_OS_X_VERSION_MAX_ALLOWED=$(subst .,,$(MACOSX_VERSION_MIN)) \
-mmacosx-version-min=$(MACOSX_VERSION_MIN)
LDFLAGS += -mmacosx-version-min=$(MACOSX_VERSION_MIN)
LFLAGS += -mmacosx-version-min=$(MACOSX_VERSION_MIN)
endif
......
......@@ -110,6 +110,9 @@ endif
ifneq ($(OS_VENDOR), Darwin)
SA_LFLAGS = $(MAPFLAG:FILENAME=$(SAMAPFILE))
else
# bring in minimum version argument or we'll fail on OSX 10.10
SA_LFLAGS = $(LFLAGS)
endif
SA_LFLAGS += $(LDFLAGS_HASH_STYLE)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册