8065913: Various improvements in SetupNativeCompilation
Reviewed-by: erikj
This commit is contained in:
parent
eafad5770a
commit
64bb4a891c
@ -77,7 +77,7 @@ ifeq ($(OPENJDK_TARGET_OS), windows)
|
|||||||
EXE_OUT_OPTION := -Fe
|
EXE_OUT_OPTION := -Fe
|
||||||
# With the current way unpack200 is built, debug symbols aren't supported
|
# With the current way unpack200 is built, debug symbols aren't supported
|
||||||
# anyway.
|
# anyway.
|
||||||
UNPACKEXE_DEBUG_SYMBOLS :=
|
UNPACKEXE_DEBUG_SYMBOLS := false
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# The linker on older SuSE distros (e.g. on SLES 10) complains with:
|
# The linker on older SuSE distros (e.g. on SLES 10) complains with:
|
||||||
|
@ -45,15 +45,17 @@ endif
|
|||||||
# elegant solution to this.
|
# elegant solution to this.
|
||||||
WIN_JAVA_LIB := $(JDK_OUTPUTDIR)/objs/libjava/java.lib
|
WIN_JAVA_LIB := $(JDK_OUTPUTDIR)/objs/libjava/java.lib
|
||||||
|
|
||||||
# Use this variable to set DEBUG_SYMBOLS true on windows for all libraries, but
|
|
||||||
# not on other platforms.
|
|
||||||
ifeq ($(OPENJDK_TARGET_OS), windows)
|
|
||||||
DEBUG_ALL_BINARIES := true
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Build everything with debugging on OpenJDK
|
|
||||||
ifdef OPENJDK
|
ifdef OPENJDK
|
||||||
|
# Build everything with debugging on OpenJDK
|
||||||
DEBUG_ALL_BINARIES := true
|
DEBUG_ALL_BINARIES := true
|
||||||
|
else
|
||||||
|
# Use this variable to set DEBUG_SYMBOLS true on windows for all libraries, but
|
||||||
|
# not on other platforms.
|
||||||
|
ifeq ($(OPENJDK_TARGET_OS), windows)
|
||||||
|
DEBUG_ALL_BINARIES := true
|
||||||
|
else
|
||||||
|
DEBUG_ALL_BINARIES := false
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user