Subversion Repositories eduke32

Rev

Rev 4807 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4807 Rev 4817
Line 262... Line 262...
262
262
263
DEBUGFLAG=-g
263
DEBUGFLAG=-g
264
ifeq (0,$(CLANG))
264
ifeq (0,$(CLANG))
265
    ifneq ($(PLATFORM),WII)
265
    ifneq ($(PLATFORM),WII)
266
        DEBUGFLAG=-ggdb
266
        DEBUGFLAG=-ggdb -fno-omit-frame-pointer
267
    endif
267
    endif
268
endif
268
endif
269
ifneq ($(RELEASE)$(DEBUGANYWAY),10)
269
ifneq ($(RELEASE)$(DEBUGANYWAY),10)
270
    # debug build or DEBUGANYWAY=1 --> -g flag
270
    # debug build or DEBUGANYWAY=1 --> -g flag
271
    OPTIMIZATIONS += $(DEBUGFLAG)
271
    OPTIMIZATIONS += $(DEBUGFLAG)
272
endif
272
endif