提交 b63fce38 编写于 作者: P prr

8019692: JDK build CC_OPT_HIGHEST setting isn't valid for Sun C++ compiler

Reviewed-by: jgodinez
上级 5ea5979a
...@@ -36,7 +36,11 @@ PRODUCT = sun ...@@ -36,7 +36,11 @@ PRODUCT = sun
CPLUSPLUSLIBRARY=true CPLUSPLUSLIBRARY=true
# Use higher optimization level # Use higher optimization level
ifeq ($(PLATFORM), windows)
OPTIMIZATION_LEVEL = HIGHEST OPTIMIZATION_LEVEL = HIGHEST
else
OPTIMIZATION_LEVEL = HIGHER
endif
include $(BUILDDIR)/common/Defs.gmk include $(BUILDDIR)/common/Defs.gmk
......
...@@ -1327,11 +1327,12 @@ else ...@@ -1327,11 +1327,12 @@ else
BUILD_LIBFONTMANAGER_FONTLIB:=$(FREETYPE2_LIBS) BUILD_LIBFONTMANAGER_FONTLIB:=$(FREETYPE2_LIBS)
endif endif
LIBFONTMANAGER_OPTIMIZATION:=HIGHEST LIBFONTMANAGER_OPTIMIZATION:=HIGH
ifeq ($(OPENJDK_TARGET_OS),windows) ifeq ($(OPENJDK_TARGET_OS),windows)
LIBFONTMANAGER_EXCLUDE_FILES += X11FontScaler.c \ LIBFONTMANAGER_EXCLUDE_FILES += X11FontScaler.c \
X11TextRenderer.c X11TextRenderer.c
LIBFONTMANAGER_OPTIMIZATION:=HIGHEST
else else
LIBFONTMANAGER_EXCLUDE_FILES += fontpath.c \ LIBFONTMANAGER_EXCLUDE_FILES += fontpath.c \
lcdglyph.c lcdglyph.c
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册