提交 f661d416 编写于 作者: R robm

Merge

...@@ -669,6 +669,8 @@ X_CFLAGS ...@@ -669,6 +669,8 @@ X_CFLAGS
XMKMF XMKMF
FIXPATH FIXPATH
ZIP_DEBUGINFO_FILES ZIP_DEBUGINFO_FILES
DEBUG_BINARIES
STRIP_POLICY
ENABLE_DEBUG_SYMBOLS ENABLE_DEBUG_SYMBOLS
COMPILER_SUPPORTS_TARGET_BITS_FLAG COMPILER_SUPPORTS_TARGET_BITS_FLAG
ZERO_ARCHFLAG ZERO_ARCHFLAG
...@@ -1074,6 +1076,7 @@ with_extra_cxxflags ...@@ -1074,6 +1076,7 @@ with_extra_cxxflags
with_extra_ldflags with_extra_ldflags
enable_debug_symbols enable_debug_symbols
enable_zip_debug_info enable_zip_debug_info
with_native_debug_symbols
enable_macosx_runtime_support enable_macosx_runtime_support
with_x with_x
with_cups with_cups
...@@ -1920,6 +1923,9 @@ Optional Packages: ...@@ -1920,6 +1923,9 @@ Optional Packages:
--with-extra-cflags extra flags to be used when compiling jdk c-files --with-extra-cflags extra flags to be used when compiling jdk c-files
--with-extra-cxxflags extra flags to be used when compiling jdk c++-files --with-extra-cxxflags extra flags to be used when compiling jdk c++-files
--with-extra-ldflags extra flags to be used when linking jdk --with-extra-ldflags extra flags to be used when linking jdk
--with-native-debug-symbols
set the native debug symbol configuration (none,
internal, external, zipped) [varying]
--with-x use the X Window System --with-x use the X Window System
--with-cups specify prefix directory for the cups package --with-cups specify prefix directory for the cups package
(expecting the headers under PATH/include) (expecting the headers under PATH/include)
...@@ -4330,7 +4336,7 @@ VS_SDK_PLATFORM_NAME_2017= ...@@ -4330,7 +4336,7 @@ VS_SDK_PLATFORM_NAME_2017=
#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=1529506170 DATE_WHEN_GENERATED=1532008852
############################################################################### ###############################################################################
# #
...@@ -42086,6 +42092,9 @@ $as_echo "$supports" >&6; } ...@@ -42086,6 +42092,9 @@ $as_echo "$supports" >&6; }
# Setup debug symbols (need objcopy from the toolchain for that) # Setup debug symbols (need objcopy from the toolchain for that)
# Backwards compatibility. --with-native-debug-symbols is preferred post JDK-8207234,
# but if somebody does not specify it via configure, we still want to preserve old
# behaviour of --disable-debug-symbols
# #
# ENABLE_DEBUG_SYMBOLS # ENABLE_DEBUG_SYMBOLS
# This must be done after the toolchain is setup, since we're looking at objcopy. # This must be done after the toolchain is setup, since we're looking at objcopy.
...@@ -42124,6 +42133,9 @@ $as_echo_n "checking if we should generate debug symbols... " >&6; } ...@@ -42124,6 +42133,9 @@ $as_echo_n "checking if we should generate debug symbols... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ENABLE_DEBUG_SYMBOLS" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ENABLE_DEBUG_SYMBOLS" >&5
$as_echo "$ENABLE_DEBUG_SYMBOLS" >&6; } $as_echo "$ENABLE_DEBUG_SYMBOLS" >&6; }
# Backwards compatibility. --with-native-debug-symbols is preferred post JDK-8207234,
# but if somebody does not specify it via configure, we still want to preserve old
# behaviour of --disable-zip-debug-info.
# #
# ZIP_DEBUGINFO_FILES # ZIP_DEBUGINFO_FILES
# #
...@@ -42141,14 +42153,98 @@ $as_echo "${enable_zip_debug_info}" >&6; } ...@@ -42141,14 +42153,98 @@ $as_echo "${enable_zip_debug_info}" >&6; }
if test "x${enable_zip_debug_info}" = "xno"; then if test "x${enable_zip_debug_info}" = "xno"; then
ZIP_DEBUGINFO_FILES=false ZIP_DEBUGINFO_FILES=false
elif test "x${enable_zip_debug_info}" = "xyes"; then
ZIP_DEBUGINFO_FILES=true
fi
#
# NATIVE_DEBUG_SYMBOLS
# This must be done after the toolchain is setup, since we're looking at objcopy.
# In addition, this must be done after ENABLE_DEBUG_SYMBOLS and ZIP_DEBUGINFO_FILES
# checking in order to preserve backwards compatibility post JDK-8207234.
#
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what type of native debug symbols to use (this will override previous settings)" >&5
$as_echo_n "checking what type of native debug symbols to use (this will override previous settings)... " >&6; }
# Check whether --with-native-debug-symbols was given.
if test "${with_native_debug_symbols+set}" = set; then :
withval=$with_native_debug_symbols;
if test "x$OPENJDK_TARGET_OS" = xaix; then
if test "x$with_native_debug_symbols" = xexternal || test "x$with_native_debug_symbols" = xzipped; then
as_fn_error $? "AIX only supports the parameters 'none' and 'internal' for --with-native-debug-symbols" "$LINENO" 5
fi
fi
else
# Default to unset for backwards compatibility
with_native_debug_symbols=""
fi
NATIVE_DEBUG_SYMBOLS=$with_native_debug_symbols
if test "x$NATIVE_DEBUG_SYMBOLS" = x; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not specified" >&5
$as_echo "not specified" >&6; }
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NATIVE_DEBUG_SYMBOLS" >&5
$as_echo "$NATIVE_DEBUG_SYMBOLS" >&6; }
fi
# Default is empty
DEBUG_BINARIES=
# Default is min_strip. Possible values are min_strip, all_strip, no_strip
STRIP_POLICY=min_strip
if test "x$NATIVE_DEBUG_SYMBOLS" = xzipped; then
if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xlinux; then
if test "x$OBJCOPY" = x; then
# enabling of enable-debug-symbols and can't find objcopy
# this is an error
as_fn_error $? "Unable to find objcopy, cannot enable native debug symbols" "$LINENO" 5
fi
fi
ENABLE_DEBUG_SYMBOLS=true
STRIP_POLICY=min_strip
ZIP_DEBUGINFO_FILES=true ZIP_DEBUGINFO_FILES=true
elif test "x$NATIVE_DEBUG_SYMBOLS" = xnone; then
ENABLE_DEBUG_SYMBOLS=false
STRIP_POLICY=min_strip
ZIP_DEBUGINFO_FILES=false
elif test "x$NATIVE_DEBUG_SYMBOLS" = xinternal; then
ENABLE_DEBUG_SYMBOLS=true
STRIP_POLICY=no_strip
ZIP_DEBUGINFO_FILES=false
POST_STRIP_CMD=
DEBUG_BINARIES=true
elif test "x$NATIVE_DEBUG_SYMBOLS" = xexternal; then
if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xlinux; then
if test "x$OBJCOPY" = x; then
# enabling of enable-debug-symbols and can't find objcopy
# this is an error
as_fn_error $? "Unable to find objcopy, cannot enable native debug symbols" "$LINENO" 5
fi
fi
ENABLE_DEBUG_SYMBOLS=true
STRIP_POLICY=min_strip
ZIP_DEBUGINFO_FILES=false
elif test "x$NATIVE_DEBUG_SYMBOLS" != x; then
as_fn_error $? "Allowed native debug symbols are: none, internal, external, zipped" "$LINENO" 5
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: --with-native-debug-symbols not specified. Using values from --disable-debug-symbols and --disable-zip-debug-info" >&5
$as_echo "$as_me: --with-native-debug-symbols not specified. Using values from --disable-debug-symbols and --disable-zip-debug-info" >&6;}
fi fi
############################################################################### ###############################################################################
# #
# Check dependencies for external and internal libraries. # Check dependencies for external and internal libraries.
...@@ -556,6 +556,9 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_BUILD_TWEAKS], ...@@ -556,6 +556,9 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_BUILD_TWEAKS],
AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS], AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS],
[ [
# Backwards compatibility. --with-native-debug-symbols is preferred post JDK-8207234,
# but if somebody does not specify it via configure, we still want to preserve old
# behaviour of --disable-debug-symbols
# #
# ENABLE_DEBUG_SYMBOLS # ENABLE_DEBUG_SYMBOLS
# This must be done after the toolchain is setup, since we're looking at objcopy. # This must be done after the toolchain is setup, since we're looking at objcopy.
...@@ -589,6 +592,9 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS], ...@@ -589,6 +592,9 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS],
AC_MSG_RESULT([$ENABLE_DEBUG_SYMBOLS]) AC_MSG_RESULT([$ENABLE_DEBUG_SYMBOLS])
# Backwards compatibility. --with-native-debug-symbols is preferred post JDK-8207234,
# but if somebody does not specify it via configure, we still want to preserve old
# behaviour of --disable-zip-debug-info.
# #
# ZIP_DEBUGINFO_FILES # ZIP_DEBUGINFO_FILES
# #
...@@ -600,11 +606,88 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS], ...@@ -600,11 +606,88 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS],
if test "x${enable_zip_debug_info}" = "xno"; then if test "x${enable_zip_debug_info}" = "xno"; then
ZIP_DEBUGINFO_FILES=false ZIP_DEBUGINFO_FILES=false
elif test "x${enable_zip_debug_info}" = "xyes"; then
ZIP_DEBUGINFO_FILES=true
fi
#
# NATIVE_DEBUG_SYMBOLS
# This must be done after the toolchain is setup, since we're looking at objcopy.
# In addition, this must be done after ENABLE_DEBUG_SYMBOLS and ZIP_DEBUGINFO_FILES
# checking in order to preserve backwards compatibility post JDK-8207234.
#
AC_MSG_CHECKING([what type of native debug symbols to use (this will override previous settings)])
AC_ARG_WITH([native-debug-symbols],
[AS_HELP_STRING([--with-native-debug-symbols],
[set the native debug symbol configuration (none, internal, external, zipped) @<:@varying@:>@])],
[
if test "x$OPENJDK_TARGET_OS" = xaix; then
if test "x$with_native_debug_symbols" = xexternal || test "x$with_native_debug_symbols" = xzipped; then
AC_MSG_ERROR([AIX only supports the parameters 'none' and 'internal' for --with-native-debug-symbols])
fi
fi
],
[
# Default to unset for backwards compatibility
with_native_debug_symbols=""
])
NATIVE_DEBUG_SYMBOLS=$with_native_debug_symbols
if test "x$NATIVE_DEBUG_SYMBOLS" = x; then
AC_MSG_RESULT([not specified])
else else
AC_MSG_RESULT([$NATIVE_DEBUG_SYMBOLS])
fi
# Default is empty
DEBUG_BINARIES=
# Default is min_strip. Possible values are min_strip, all_strip, no_strip
STRIP_POLICY=min_strip
if test "x$NATIVE_DEBUG_SYMBOLS" = xzipped; then
if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xlinux; then
if test "x$OBJCOPY" = x; then
# enabling of enable-debug-symbols and can't find objcopy
# this is an error
AC_MSG_ERROR([Unable to find objcopy, cannot enable native debug symbols])
fi
fi
ENABLE_DEBUG_SYMBOLS=true
STRIP_POLICY=min_strip
ZIP_DEBUGINFO_FILES=true ZIP_DEBUGINFO_FILES=true
elif test "x$NATIVE_DEBUG_SYMBOLS" = xnone; then
ENABLE_DEBUG_SYMBOLS=false
STRIP_POLICY=min_strip
ZIP_DEBUGINFO_FILES=false
elif test "x$NATIVE_DEBUG_SYMBOLS" = xinternal; then
ENABLE_DEBUG_SYMBOLS=true
STRIP_POLICY=no_strip
ZIP_DEBUGINFO_FILES=false
POST_STRIP_CMD=
DEBUG_BINARIES=true
elif test "x$NATIVE_DEBUG_SYMBOLS" = xexternal; then
if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xlinux; then
if test "x$OBJCOPY" = x; then
# enabling of enable-debug-symbols and can't find objcopy
# this is an error
AC_MSG_ERROR([Unable to find objcopy, cannot enable native debug symbols])
fi
fi
ENABLE_DEBUG_SYMBOLS=true
STRIP_POLICY=min_strip
ZIP_DEBUGINFO_FILES=false
elif test "x$NATIVE_DEBUG_SYMBOLS" != x; then
AC_MSG_ERROR([Allowed native debug symbols are: none, internal, external, zipped])
else
AC_MSG_NOTICE([--with-native-debug-symbols not specified. Using values from --disable-debug-symbols and --disable-zip-debug-info])
fi fi
AC_SUBST(ENABLE_DEBUG_SYMBOLS) AC_SUBST(ENABLE_DEBUG_SYMBOLS)
AC_SUBST(STRIP_POLICY)
AC_SUBST(POST_STRIP_CMD)
AC_SUBST(DEBUG_BINARIES)
AC_SUBST(ZIP_DEBUGINFO_FILES) AC_SUBST(ZIP_DEBUGINFO_FILES)
]) ])
......
...@@ -416,6 +416,8 @@ ENABLE_DEBUG_SYMBOLS:=@ENABLE_DEBUG_SYMBOLS@ ...@@ -416,6 +416,8 @@ ENABLE_DEBUG_SYMBOLS:=@ENABLE_DEBUG_SYMBOLS@
CFLAGS_DEBUG_SYMBOLS:=@CFLAGS_DEBUG_SYMBOLS@ CFLAGS_DEBUG_SYMBOLS:=@CFLAGS_DEBUG_SYMBOLS@
CXXFLAGS_DEBUG_SYMBOLS:=@CXXFLAGS_DEBUG_SYMBOLS@ CXXFLAGS_DEBUG_SYMBOLS:=@CXXFLAGS_DEBUG_SYMBOLS@
ZIP_DEBUGINFO_FILES:=@ZIP_DEBUGINFO_FILES@ ZIP_DEBUGINFO_FILES:=@ZIP_DEBUGINFO_FILES@
STRIP_POLICY:=@STRIP_POLICY@
DEBUG_BINARIES:=@DEBUG_BINARIES@
# #
# Compress (or not) jars # Compress (or not) jars
......
...@@ -260,6 +260,10 @@ define SetupNativeCompilation ...@@ -260,6 +260,10 @@ define SetupNativeCompilation
$1_CC:=$(CC) $1_CC:=$(CC)
endif endif
ifeq ($$($1_STRIP_POLICY),)
$1_STRIP_POLICY:=$$(STRIP_POLICY)
endif
# Make sure the dirs exist. # Make sure the dirs exist.
$$(eval $$(call MakeDir,$$($1_OBJECT_DIR) $$($1_OUTPUT_DIR))) $$(eval $$(call MakeDir,$$($1_OBJECT_DIR) $$($1_OUTPUT_DIR)))
$$(foreach d,$$($1_SRC), $$(if $$(wildcard $$d),,$$(error SRC specified to SetupNativeCompilation $1 contains missing directory $$d))) $$(foreach d,$$($1_SRC), $$(if $$(wildcard $$d),,$$(error SRC specified to SetupNativeCompilation $1 contains missing directory $$d)))
...@@ -455,6 +459,7 @@ define SetupNativeCompilation ...@@ -455,6 +459,7 @@ define SetupNativeCompilation
ifneq ($(OPENJDK_TARGET_OS), macosx) # OBJCOPY is not used on MacOS X ifneq ($(OPENJDK_TARGET_OS), macosx) # OBJCOPY is not used on MacOS X
ifneq ($(OPENJDK_TARGET_OS), windows) # nor on Windows ifneq ($(OPENJDK_TARGET_OS), windows) # nor on Windows
ifeq ($(OPENJDK_TARGET_OS), solaris) ifeq ($(OPENJDK_TARGET_OS), solaris)
ifneq ($$($1_STRIP_POLICY), no_strip)
# gobjcopy crashes on "empty" section headers with the SHF_ALLOC flag set. # gobjcopy crashes on "empty" section headers with the SHF_ALLOC flag set.
# Use $(FIX_EMPTY_SEC_HDR_FLAGS) to clear the SHF_ALLOC flag (if set) from # Use $(FIX_EMPTY_SEC_HDR_FLAGS) to clear the SHF_ALLOC flag (if set) from
# empty section headers until a fixed $(OBJCOPY) is available. # empty section headers until a fixed $(OBJCOPY) is available.
...@@ -470,13 +475,18 @@ define SetupNativeCompilation ...@@ -470,13 +475,18 @@ define SetupNativeCompilation
$(FIX_EMPTY_SEC_HDR_FLAGS) $(LOG_INFO) $$< $(FIX_EMPTY_SEC_HDR_FLAGS) $(LOG_INFO) $$<
$(OBJCOPY) --only-keep-debug $$< $$@ $(OBJCOPY) --only-keep-debug $$< $$@
$(CD) $$(@D) && $(ADD_GNU_DEBUGLINK) $(LOG_INFO) $$(@F) $$< $(CD) $$(@D) && $(ADD_GNU_DEBUGLINK) $(LOG_INFO) $$(@F) $$<
endif
else # not solaris else # not solaris
ifneq ($$($1_STRIP_POLICY), no_strip)
$$($1_OBJECT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).debuginfo : $$($1_TARGET) $$($1_OBJECT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).debuginfo : $$($1_TARGET)
$(RM) $$@ $(RM) $$@
$(OBJCOPY) --only-keep-debug $$< $$@ $(OBJCOPY) --only-keep-debug $$< $$@
$(CD) $$(@D) && $(OBJCOPY) --add-gnu-debuglink=$$(@F) $$< $(CD) $$(@D) && $(OBJCOPY) --add-gnu-debuglink=$$(@F) $$<
endif
endif # Touch to not retrigger rule on rebuild endif # Touch to not retrigger rule on rebuild
ifneq ($$($1_STRIP_POLICY), no_strip)
$(TOUCH) $$@ $(TOUCH) $$@
endif
endif # !windows endif # !windows
endif # !macosx endif # !macosx
...@@ -500,11 +510,13 @@ endif # no MacOS X support yet ...@@ -500,11 +510,13 @@ endif # no MacOS X support yet
$1 += $$($1_OUTPUT_DIR)/$$($1_LIBRARY).map \ $1 += $$($1_OUTPUT_DIR)/$$($1_LIBRARY).map \
$$($1_OUTPUT_DIR)/$$($1_LIBRARY).pdb $$($1_OUTPUT_DIR)/$$($1_LIBRARY).pdb
else ifneq ($(OPENJDK_TARGET_OS), macosx) # MacOS X does not use .debuginfo files else ifneq ($(OPENJDK_TARGET_OS), macosx) # MacOS X does not use .debuginfo files
ifneq ($$($1_STRIP_POLICY), no_strip)
$1 += $$($1_OUTPUT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).debuginfo $1 += $$($1_OUTPUT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).debuginfo
endif endif
endif endif
endif endif
endif endif
endif
$$($1_TARGET) : $$($1_EXPECTED_OBJS) $$($1_RES) $$($1_REAL_MAPFILE) $$($1_TARGET) : $$($1_EXPECTED_OBJS) $$($1_RES) $$($1_REAL_MAPFILE)
$$(call LINKING_MSG,$$($1_BASENAME)) $$(call LINKING_MSG,$$($1_BASENAME))
...@@ -539,6 +551,7 @@ endif # no MacOS X support yet ...@@ -539,6 +551,7 @@ endif # no MacOS X support yet
ifneq ($(OPENJDK_TARGET_OS), macosx) # OBJCOPY is not used on MacOS X ifneq ($(OPENJDK_TARGET_OS), macosx) # OBJCOPY is not used on MacOS X
ifneq ($(OPENJDK_TARGET_OS), windows) # nor on Windows ifneq ($(OPENJDK_TARGET_OS), windows) # nor on Windows
ifeq ($(OPENJDK_TARGET_OS), solaris) ifeq ($(OPENJDK_TARGET_OS), solaris)
ifneq ($$($1_STRIP_POLICY), no_strip)
# gobjcopy crashes on "empty" section headers with the SHF_ALLOC flag set. # gobjcopy crashes on "empty" section headers with the SHF_ALLOC flag set.
# Use $(FIX_EMPTY_SEC_HDR_FLAGS) to clear the SHF_ALLOC flag (if set) from # Use $(FIX_EMPTY_SEC_HDR_FLAGS) to clear the SHF_ALLOC flag (if set) from
# empty section headers until a fixed $(OBJCOPY) is available. # empty section headers until a fixed $(OBJCOPY) is available.
...@@ -554,13 +567,18 @@ endif # no MacOS X support yet ...@@ -554,13 +567,18 @@ endif # no MacOS X support yet
$(FIX_EMPTY_SEC_HDR_FLAGS) $(LOG_INFO) $$< $(FIX_EMPTY_SEC_HDR_FLAGS) $(LOG_INFO) $$<
$(OBJCOPY) --only-keep-debug $$< $$@ $(OBJCOPY) --only-keep-debug $$< $$@
$(CD) $$(@D) && $(ADD_GNU_DEBUGLINK) $(LOG_INFO) $$(@F) $$< $(CD) $$(@D) && $(ADD_GNU_DEBUGLINK) $(LOG_INFO) $$(@F) $$<
endif
else # not solaris else # not solaris
ifneq ($$($1_STRIP_POLICY), no_strip)
$$($1_OBJECT_DIR)/$$($1_PROGRAM).debuginfo : $$($1_TARGET) $$($1_OBJECT_DIR)/$$($1_PROGRAM).debuginfo : $$($1_TARGET)
$(RM) $$@ $(RM) $$@
$(OBJCOPY) --only-keep-debug $$< $$@ $(OBJCOPY) --only-keep-debug $$< $$@
$(CD) $$(@D) && $(OBJCOPY) --add-gnu-debuglink=$$(@F) $$< $(CD) $$(@D) && $(OBJCOPY) --add-gnu-debuglink=$$(@F) $$<
endif endif
endif
ifneq ($$($1_STRIP_POLICY), no_strip)
$(TOUCH) $$@ $(TOUCH) $$@
endif
endif # !windows endif # !windows
endif # !macosx endif # !macosx
...@@ -584,11 +602,13 @@ endif # no MacOS X support yet ...@@ -584,11 +602,13 @@ endif # no MacOS X support yet
$1 += $$($1_OUTPUT_DIR)/$$($1_PROGRAM).map \ $1 += $$($1_OUTPUT_DIR)/$$($1_PROGRAM).map \
$$($1_OUTPUT_DIR)/$$($1_PROGRAM).pdb $$($1_OUTPUT_DIR)/$$($1_PROGRAM).pdb
else ifneq ($(OPENJDK_TARGET_OS), macosx) # MacOS X does not use .debuginfo files else ifneq ($(OPENJDK_TARGET_OS), macosx) # MacOS X does not use .debuginfo files
ifneq ($$($1_STRIP_POLICY), no_strip)
$1 += $$($1_OUTPUT_DIR)/$$($1_PROGRAM).debuginfo $1 += $$($1_OUTPUT_DIR)/$$($1_PROGRAM).debuginfo
endif endif
endif endif
endif endif
endif endif
endif
$1_EXTRA_LDFLAGS_SUFFIX += $(GLOBAL_LDFLAGS_SUFFIX) $1_EXTRA_LDFLAGS_SUFFIX += $(GLOBAL_LDFLAGS_SUFFIX)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册