make/linux/makefiles/gcc.make

changeset 1202
5d4dd2f5f6a1
parent 1014
0fbdb4381b99
child 1205
f5ee65f94d9a
     1.1 --- a/make/linux/makefiles/gcc.make	Thu Apr 16 11:22:40 2009 -0700
     1.2 +++ b/make/linux/makefiles/gcc.make	Fri Apr 17 15:50:12 2009 +0100
     1.3 @@ -166,3 +166,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