< prev index next >

make/linux/makefiles/gcc.make

Print this page

        

*** 333,387 **** # 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/arm = -g ! DEBUG_CFLAGS/ppc = -g ! DEBUG_CFLAGS/ppc64 = -g ! DEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH)) ! ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),) ! ifeq ($(USE_CLANG), true) ! # Clang doesn't understand -gstabs ! DEBUG_CFLAGS += -g ! else ! DEBUG_CFLAGS += -gstabs ! endif ! endif - ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) - FASTDEBUG_CFLAGS/ia64 = -g - FASTDEBUG_CFLAGS/amd64 = -g - FASTDEBUG_CFLAGS/arm = -g - FASTDEBUG_CFLAGS/ppc = -g - FASTDEBUG_CFLAGS/ppc64 = -g - FASTDEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH)) - ifeq ($(FASTDEBUG_CFLAGS/$(BUILDARCH)),) ifeq ($(USE_CLANG), true) # Clang doesn't understand -gstabs ! FASTDEBUG_CFLAGS += -g else ! FASTDEBUG_CFLAGS += -gstabs ! endif endif ! OPT_CFLAGS/ia64 = -g ! OPT_CFLAGS/amd64 = -g ! OPT_CFLAGS/arm = -g ! OPT_CFLAGS/ppc = -g ! OPT_CFLAGS/ppc64 = -g ! OPT_CFLAGS += $(OPT_CFLAGS/$(BUILDARCH)) ! ifeq ($(OPT_CFLAGS/$(BUILDARCH)),) ! ifeq ($(USE_CLANG), true) ! # Clang doesn't understand -gstabs ! OPT_CFLAGS += -g ! else ! OPT_CFLAGS += -gstabs ! endif ! endif endif endif # If we are building HEADLESS, pass on to VM # so it can set the java.awt.headless property --- 333,358 ---- # 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. ! DASH_G_FLAG/ia64 = -g ! DASH_G_FLAG/amd64 = -g ! DASH_G_FLAG/ppc64 = -g ifeq ($(USE_CLANG), true) # Clang doesn't understand -gstabs ! DASH_G_FLAG/$(BUILDARCH) ?= -g else ! DASH_G_FLAG/$(BUILDARCH) ?= -gstabs endif ! DEBUG_CFLAGS += $(DASH_G_FLAG/$(BUILDARCH)) ! ! ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) ! FASTDEBUG_CFLAGS += $(DASH_G_FLAG/$(BUILDARCH)) ! OPT_CFLAGS += $(DASH_G_FLAG/$(BUILDARCH)) endif endif # If we are building HEADLESS, pass on to VM # so it can set the java.awt.headless property
< prev index next >