make/linux/makefiles/gcc.make

changeset 1202
5d4dd2f5f6a1
parent 1014
0fbdb4381b99
child 1205
f5ee65f94d9a
equal deleted inserted replaced
1135:bcbec53c367d 1202: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

mercurial