comparison make/linux/makefiles/gcc.make @ 767:5d4dd2f5f6a1

6829575: 100028: Debug information is incomplete or missing Summary: Enable debugging in many places Reviewed-by: ohair Contributed-by: Andrew Haley <aph@redhat.com>
author aph
date Fri, 17 Apr 2009 15:50:12 +0100
parents 0fbdb4381b99
children f5ee65f94d9a
comparison
equal deleted inserted replaced
700:bcbec53c367d 767:5d4dd2f5f6a1
164 DEBUG_CFLAGS/amd64 = -g 164 DEBUG_CFLAGS/amd64 = -g
165 DEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH)) 165 DEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH))
166 ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),) 166 ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),)
167 DEBUG_CFLAGS += -gstabs 167 DEBUG_CFLAGS += -gstabs
168 endif 168 endif
169
170 # DEBUG_BINARIES overrides everything, use full -g debug information
171 ifeq ($(DEBUG_BINARIES), true)
172 DEBUG_CFLAGS = -g
173 CFLAGS += $(DEBUG_CFLAGS)
174 endif