make/linux/makefiles/gcc.make

changeset 1221
27d660246893
parent 1205
f5ee65f94d9a
child 1445
354d3184f6b2
     1.1 --- a/make/linux/makefiles/gcc.make	Wed May 13 00:45:22 2009 -0700
     1.2 +++ b/make/linux/makefiles/gcc.make	Fri May 15 18:14:44 2009 -0700
     1.3 @@ -171,3 +171,9 @@
     1.4  ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),)
     1.5  DEBUG_CFLAGS += -gstabs
     1.6  endif
     1.7 +
     1.8 +# DEBUG_BINARIES overrides everything, use full -g debug information
     1.9 +ifeq ($(DEBUG_BINARIES), true)
    1.10 +  DEBUG_CFLAGS = -g
    1.11 +  CFLAGS += $(DEBUG_CFLAGS)
    1.12 +endif

mercurial