diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-10-24 04:12:42 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-10-24 04:12:42 +0000 |
commit | 548a9b724613b712d9752176e17d900cf2ff3698 (patch) | |
tree | 769ac9415edeac01fd431ffbbee641acadc87786 | |
parent | da19a2dfd6554bf021669cb84fe576c5223b554b (diff) |
Disable optimizations with debugging
-rw-r--r-- | Rules.mak | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -198,8 +198,8 @@ CFLAGS=$(XWARNINGS) $(OPTIMIZATION) $(XARCH_CFLAGS) $(CPU_CFLAGS) \ -fno-builtin -nostdinc -D_LIBC -I$(TOPDIR)include -I. ifeq ($(DODEBUG),y) - CFLAGS += -g - #CFLAGS = $(XWARNINGS) -O0 -g $(CPU_CFLAGS) -fno-builtin -nostdinc -D_LIBC -I$(TOPDIR)include -I. + #CFLAGS += -g3 + CFLAGS = $(XWARNINGS) -O0 -g3 $(CPU_CFLAGS) -fno-builtin -nostdinc -D_LIBC -I$(TOPDIR)include -I. LDFLAGS:= $(CPU_LDFLAGS-y) -shared --warn-common --warn-once -z combreloc STRIPTOOL:= true -Since_we_are_debugging else |