common/autoconf/hotspot-spec.gmk.in

changeset 533
e175ecff1391
parent 512
582c696033f5
child 635
907a926d3c96
     1.1 --- a/common/autoconf/hotspot-spec.gmk.in	Tue Dec 11 11:29:58 2012 +0100
     1.2 +++ b/common/autoconf/hotspot-spec.gmk.in	Tue Dec 11 11:33:34 2012 +0100
     1.3 @@ -97,6 +97,24 @@
     1.4  
     1.5  USE_PRECOMPILED_HEADER=@USE_PRECOMPILED_HEADER@
     1.6  
     1.7 +# Hotspot expects the variable FULL_DEBUG_SYMBOLS=1/0 to control debug symbols
     1.8 +# creation. 
     1.9 +ifeq ($(ENABLE_DEBUG_SYMBOLS), true) 
    1.10 +  FULL_DEBUG_SYMBOLS=1
    1.11 +  # Ensure hotspot uses the objcopy that configure located 
    1.12 +  ALT_OBJCOPY:=$(OBJCOPY) 
    1.13 +else 
    1.14 +  FULL_DEBUG_SYMBOLS=0
    1.15 +endif
    1.16 +
    1.17 +# Hotspot expects the variable ZIP_DEBUGINFO_FILES=1/0 and not true/false.
    1.18 +ifeq ($(ZIP_DEBUGINFO_FILES)$(ENABLE_DEBUG_SYMBOLS), truetrue)
    1.19 +  ZIP_DEBUGINFO_FILES:=1
    1.20 +endif
    1.21 +ifeq ($(ZIP_DEBUGINFO_FILES), false)
    1.22 +  ZIP_DEBUGINFO_FILES:=0
    1.23 +endif
    1.24 +
    1.25  # Sneak this in via the spec.gmk file, since we don't want to mess around too much with the Hotspot make files.
    1.26  # This is needed to get the LOG setting to work properly.
    1.27  include $(SRC_ROOT)/common/makefiles/MakeBase.gmk

mercurial