make/linux/makefiles/gcc.make

changeset 1221
27d660246893
parent 1205
f5ee65f94d9a
child 1445
354d3184f6b2
equal deleted inserted replaced
1220:2056494941db 1221:27d660246893
169 DEBUG_CFLAGS/amd64 = -g 169 DEBUG_CFLAGS/amd64 = -g
170 DEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH)) 170 DEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH))
171 ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),) 171 ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),)
172 DEBUG_CFLAGS += -gstabs 172 DEBUG_CFLAGS += -gstabs
173 endif 173 endif
174
175 # DEBUG_BINARIES overrides everything, use full -g debug information
176 ifeq ($(DEBUG_BINARIES), true)
177 DEBUG_CFLAGS = -g
178 CFLAGS += $(DEBUG_CFLAGS)
179 endif

mercurial