common/autoconf/hotspot-spec.gmk.in

changeset 972
f3697e0783e2
parent 965
3ef3f4174c2b
parent 855
ac09e62d5e6b
child 974
46696858adab
equal deleted inserted replaced
971:584dc2e95e04 972:f3697e0783e2
1 # 1 #
2 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. 2 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 # 4 #
5 # This code is free software; you can redistribute it and/or modify it 5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as 6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation. Oracle designates this 7 # published by the Free Software Foundation. Oracle designates this
114 EXTRA_LDFLAGS=@LEGACY_EXTRA_LDFLAGS@ 114 EXTRA_LDFLAGS=@LEGACY_EXTRA_LDFLAGS@
115 115
116 USE_PRECOMPILED_HEADER=@USE_PRECOMPILED_HEADER@ 116 USE_PRECOMPILED_HEADER=@USE_PRECOMPILED_HEADER@
117 117
118 # Hotspot expects the variable FULL_DEBUG_SYMBOLS=1/0 to control debug symbols 118 # Hotspot expects the variable FULL_DEBUG_SYMBOLS=1/0 to control debug symbols
119 # creation. 119 # creation.
120 ifeq ($(ENABLE_DEBUG_SYMBOLS), true) 120 ifeq ($(ENABLE_DEBUG_SYMBOLS), true)
121 FULL_DEBUG_SYMBOLS=1 121 FULL_DEBUG_SYMBOLS=1
122 # Ensure hotspot uses the objcopy that configure located 122 # Ensure hotspot uses the objcopy that configure located
123 ALT_OBJCOPY:=$(OBJCOPY) 123 ALT_OBJCOPY:=$(OBJCOPY)
124 else 124 else
125 FULL_DEBUG_SYMBOLS=0 125 FULL_DEBUG_SYMBOLS=0
126 endif 126 endif
127 127
128 # Hotspot expects the variable ZIP_DEBUGINFO_FILES=1/0 and not true/false. 128 # Hotspot expects the variable ZIP_DEBUGINFO_FILES=1/0 and not true/false.
129 ifeq ($(ZIP_DEBUGINFO_FILES)$(ENABLE_DEBUG_SYMBOLS), truetrue) 129 ifeq ($(ZIP_DEBUGINFO_FILES)$(ENABLE_DEBUG_SYMBOLS), truetrue)
130 ZIP_DEBUGINFO_FILES:=1 130 ZIP_DEBUGINFO_FILES:=1
131 endif 131 else
132 ifeq ($(ZIP_DEBUGINFO_FILES), false)
133 ZIP_DEBUGINFO_FILES:=0 132 ZIP_DEBUGINFO_FILES:=0
134 endif 133 endif
135 134
136 # Sneak this in via the spec.gmk file, since we don't want to mess around too much with the Hotspot make files. 135 # Sneak this in via the spec.gmk file, since we don't want to mess around too much with the Hotspot make files.
137 # This is needed to get the LOG setting to work properly. 136 # This is needed to get the LOG setting to work properly.

mercurial