提交 1b22898c 编写于 作者: I ihse

8024665: Move open changes for JDK-8020411 to closed source

Reviewed-by: erikj
上级 d9512d10
...@@ -709,7 +709,6 @@ STATIC_LIBRARY ...@@ -709,7 +709,6 @@ STATIC_LIBRARY
SHARED_LIBRARY SHARED_LIBRARY
OBJ_SUFFIX OBJ_SUFFIX
COMPILER_NAME COMPILER_NAME
TARGET_BITS_FLAG
JT_HOME JT_HOME
JTREGEXE JTREGEXE
LIPO LIPO
...@@ -3806,7 +3805,7 @@ fi ...@@ -3806,7 +3805,7 @@ fi
#CUSTOM_AUTOCONF_INCLUDE #CUSTOM_AUTOCONF_INCLUDE
# Do not change or remove the following line, it is needed for consistency checks: # Do not change or remove the following line, it is needed for consistency checks:
DATE_WHEN_GENERATED=1379070243 DATE_WHEN_GENERATED=1379077060
############################################################################### ###############################################################################
# #
...@@ -28398,35 +28397,41 @@ done ...@@ -28398,35 +28397,41 @@ done
if test "x$OPENJDK_TARGET_OS" = xsolaris; then if test "x$OPENJDK_TARGET_OS" = xsolaris; then
# Always specify -m flags on Solaris # Always specify -m flags on Solaris
# keep track of c/cxx flags that we added outselves... # When we add flags to the "official" CFLAGS etc, we need to
# to prevent emitting warning... # keep track of these additions in ADDED_CFLAGS etc. These
TARGET_BITS_FLAG="-m${OPENJDK_TARGET_CPU_BITS}" # will later be checked to make sure only controlled additions
# have been made to CFLAGS etc.
ADDED_CFLAGS=" -m${OPENJDK_TARGET_CPU_BITS}"
ADDED_CXXFLAGS=" -m${OPENJDK_TARGET_CPU_BITS}"
ADDED_LDFLAGS=" -m${OPENJDK_TARGET_CPU_BITS}"
CFLAGS="${CFLAGS}${ADDED_CFLAGS}"
CXXFLAGS="${CXXFLAGS}${ADDED_CXXFLAGS}"
LDFLAGS="${LDFLAGS}${ADDED_LDFLAGS}"
CFLAGS="${CFLAGS} ${TARGET_BITS_FLAG}" CFLAGS_JDK="${CFLAGS_JDK}${ADDED_CFLAGS}"
CXXFLAGS="${CXXFLAGS} ${TARGET_BITS_FLAG}" CXXFLAGS_JDK="${CXXFLAGS_JDK}${ADDED_CXXFLAGS}"
LDFLAGS="${LDFLAGS} ${TARGET_BITS_FLAG}" LDFLAGS_JDK="${LDFLAGS_JDK}${ADDED_LDFLAGS}"
CFLAGS_JDK="${CFLAGS_JDK} ${TARGET_BITS_FLAG}"
CXXFLAGS_JDK="${CXXFLAGS_JDK} ${TARGET_BITS_FLAG}"
LDFLAGS_JDK="${LDFLAGS_JDK} ${TARGET_BITS_FLAG}"
elif test "x$COMPILE_TYPE" = xreduced; then elif test "x$COMPILE_TYPE" = xreduced; then
if test "x$OPENJDK_TARGET_OS" != xwindows; then if test "x$OPENJDK_TARGET_OS" != xwindows; then
# Specify -m if running reduced on other Posix platforms # Specify -m if running reduced on other Posix platforms
# keep track of c/cxx flags that we added outselves... # When we add flags to the "official" CFLAGS etc, we need to
# to prevent emitting warning... # keep track of these additions in ADDED_CFLAGS etc. These
TARGET_BITS_FLAG="-m${OPENJDK_TARGET_CPU_BITS}" # will later be checked to make sure only controlled additions
# have been made to CFLAGS etc.
ADDED_CFLAGS=" -m${OPENJDK_TARGET_CPU_BITS}"
CFLAGS="${CFLAGS} ${TARGET_BITS_FLAG}" ADDED_CXXFLAGS=" -m${OPENJDK_TARGET_CPU_BITS}"
CXXFLAGS="${CXXFLAGS} ${TARGET_BITS_FLAG}" ADDED_LDFLAGS=" -m${OPENJDK_TARGET_CPU_BITS}"
LDFLAGS="${LDFLAGS} ${TARGET_BITS_FLAG}"
CFLAGS="${CFLAGS}${ADDED_CFLAGS}"
CFLAGS_JDK="${CFLAGS_JDK} ${TARGET_BITS_FLAG}" CXXFLAGS="${CXXFLAGS}${ADDED_CXXFLAGS}"
CXXFLAGS_JDK="${CXXFLAGS_JDK} ${TARGET_BITS_FLAG}" LDFLAGS="${LDFLAGS}${ADDED_LDFLAGS}"
LDFLAGS_JDK="${LDFLAGS_JDK} ${TARGET_BITS_FLAG}"
CFLAGS_JDK="${CFLAGS_JDK}${ADDED_CFLAGS}"
CXXFLAGS_JDK="${CXXFLAGS_JDK}${ADDED_CXXFLAGS}"
LDFLAGS_JDK="${LDFLAGS_JDK}${ADDED_LDFLAGS}"
fi fi
fi fi
...@@ -422,18 +422,21 @@ AC_SUBST(OS_VERSION_MICRO) ...@@ -422,18 +422,21 @@ AC_SUBST(OS_VERSION_MICRO)
# Add -mX to various FLAGS variables. # Add -mX to various FLAGS variables.
AC_DEFUN([PLATFORM_SET_COMPILER_TARGET_BITS_FLAGS], AC_DEFUN([PLATFORM_SET_COMPILER_TARGET_BITS_FLAGS],
[ [
# keep track of c/cxx flags that we added outselves... # When we add flags to the "official" CFLAGS etc, we need to
# to prevent emitting warning... # keep track of these additions in ADDED_CFLAGS etc. These
TARGET_BITS_FLAG="-m${OPENJDK_TARGET_CPU_BITS}" # will later be checked to make sure only controlled additions
AC_SUBST(TARGET_BITS_FLAG) # have been made to CFLAGS etc.
ADDED_CFLAGS=" -m${OPENJDK_TARGET_CPU_BITS}"
CFLAGS="${CFLAGS} ${TARGET_BITS_FLAG}" ADDED_CXXFLAGS=" -m${OPENJDK_TARGET_CPU_BITS}"
CXXFLAGS="${CXXFLAGS} ${TARGET_BITS_FLAG}" ADDED_LDFLAGS=" -m${OPENJDK_TARGET_CPU_BITS}"
LDFLAGS="${LDFLAGS} ${TARGET_BITS_FLAG}"
CFLAGS="${CFLAGS}${ADDED_CFLAGS}"
CFLAGS_JDK="${CFLAGS_JDK} ${TARGET_BITS_FLAG}" CXXFLAGS="${CXXFLAGS}${ADDED_CXXFLAGS}"
CXXFLAGS_JDK="${CXXFLAGS_JDK} ${TARGET_BITS_FLAG}" LDFLAGS="${LDFLAGS}${ADDED_LDFLAGS}"
LDFLAGS_JDK="${LDFLAGS_JDK} ${TARGET_BITS_FLAG}"
CFLAGS_JDK="${CFLAGS_JDK}${ADDED_CFLAGS}"
CXXFLAGS_JDK="${CXXFLAGS_JDK}${ADDED_CXXFLAGS}"
LDFLAGS_JDK="${LDFLAGS_JDK}${ADDED_LDFLAGS}"
]) ])
AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_TARGET_BITS], AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_TARGET_BITS],
......
...@@ -300,7 +300,6 @@ MACOSX_VERSION_MIN=@MACOSX_VERSION_MIN@ ...@@ -300,7 +300,6 @@ MACOSX_VERSION_MIN=@MACOSX_VERSION_MIN@
COMPILER_TYPE:=@COMPILER_TYPE@ COMPILER_TYPE:=@COMPILER_TYPE@
COMPILER_NAME:=@COMPILER_NAME@ COMPILER_NAME:=@COMPILER_NAME@
TARGET_BITS_FLAG=@TARGET_BITS_FLAG@
COMPILER_SUPPORTS_TARGET_BITS_FLAG=@COMPILER_SUPPORTS_TARGET_BITS_FLAG@ COMPILER_SUPPORTS_TARGET_BITS_FLAG=@COMPILER_SUPPORTS_TARGET_BITS_FLAG@
CC_OUT_OPTION:=@CC_OUT_OPTION@ CC_OUT_OPTION:=@CC_OUT_OPTION@
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册