185 #------------------------------------------------------------------------ |
185 #------------------------------------------------------------------------ |
186 # Debug flags |
186 # Debug flags |
187 |
187 |
188 # Use the stabs format for debugging information (this is the default |
188 # Use the stabs format for debugging information (this is the default |
189 # on gcc-2.91). It's good enough, has all the information about line |
189 # on gcc-2.91). It's good enough, has all the information about line |
190 # numbers and local variables, and libjvm_g.so is only about 16M. |
190 # numbers and local variables, and libjvm.so is only about 16M. |
191 # Change this back to "-g" if you want the most expressive format. |
191 # Change this back to "-g" if you want the most expressive format. |
192 # (warning: that could easily inflate libjvm_g.so to 150M!) |
192 # (warning: that could easily inflate libjvm.so to 150M!) |
193 # Note: The Itanium gcc compiler crashes when using -gstabs. |
193 # Note: The Itanium gcc compiler crashes when using -gstabs. |
194 DEBUG_CFLAGS/ia64 = -g |
194 DEBUG_CFLAGS/ia64 = -g |
195 DEBUG_CFLAGS/amd64 = -g |
195 DEBUG_CFLAGS/amd64 = -g |
196 DEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH)) |
196 DEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH)) |
197 ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),) |
197 ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),) |