227 ifeq ($(DEBUG_BINARIES), true) |
227 ifeq ($(DEBUG_BINARIES), true) |
228 CFLAGS += -g |
228 CFLAGS += -g |
229 else |
229 else |
230 # Use the stabs format for debugging information (this is the default |
230 # Use the stabs format for debugging information (this is the default |
231 # on gcc-2.91). It's good enough, has all the information about line |
231 # on gcc-2.91). It's good enough, has all the information about line |
232 # numbers and local variables, and libjvm_g.so is only about 16M. |
232 # numbers and local variables, and libjvm.so is only about 16M. |
233 # Change this back to "-g" if you want the most expressive format. |
233 # Change this back to "-g" if you want the most expressive format. |
234 # (warning: that could easily inflate libjvm_g.so to 150M!) |
234 # (warning: that could easily inflate libjvm.so to 150M!) |
235 # Note: The Itanium gcc compiler crashes when using -gstabs. |
235 # Note: The Itanium gcc compiler crashes when using -gstabs. |
236 DEBUG_CFLAGS/ia64 = -g |
236 DEBUG_CFLAGS/ia64 = -g |
237 DEBUG_CFLAGS/amd64 = -g |
237 DEBUG_CFLAGS/amd64 = -g |
238 DEBUG_CFLAGS/arm = -g |
238 DEBUG_CFLAGS/arm = -g |
239 DEBUG_CFLAGS/ppc = -g |
239 DEBUG_CFLAGS/ppc = -g |