< prev index next >

make/solaris/makefiles/gcc.make

Print this page
rev 7403 : 8065656: Use DWARF debug symbols for Solaris

*** 224,245 **** # Debug flags # Allow no optimizations. DEBUG_CFLAGS=-O0 ! # Use the stabs format for debugging information (this is the default ! # on gcc-2.91). It's good enough, has all the information about line ! # numbers and local variables, and libjvm.so is only about 16M. ! # Change this back to "-g" if you want the most expressive format. ! # (warning: that could easily inflate libjvm.so to 150M!) ! # Note: The Itanium gcc compiler crashes when using -gstabs. ! DEBUG_CFLAGS/ia64 = -g ! DEBUG_CFLAGS/amd64 = -g ! DEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH)) ! ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),) ! DEBUG_CFLAGS += -gstabs ! endif # Enable bounds checking. ifeq "$(shell expr \( $(CC_VER_MAJOR) \> 3 \) )" "1" # stack smashing checks. DEBUG_CFLAGS += -fstack-protector-all --param ssp-buffer-size=1 --- 224,235 ---- # Debug flags # Allow no optimizations. DEBUG_CFLAGS=-O0 ! # Enable debug symbols ! DEBUG_CFLAGS += -g # Enable bounds checking. ifeq "$(shell expr \( $(CC_VER_MAJOR) \> 3 \) )" "1" # stack smashing checks. DEBUG_CFLAGS += -fstack-protector-all --param ssp-buffer-size=1
< prev index next >