summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-10-24 04:12:42 +0000
committerEric Andersen <andersen@codepoet.org>2003-10-24 04:12:42 +0000
commit548a9b724613b712d9752176e17d900cf2ff3698 (patch)
tree769ac9415edeac01fd431ffbbee641acadc87786 /Rules.mak
parentda19a2dfd6554bf021669cb84fe576c5223b554b (diff)
Disable optimizations with debugging
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rules.mak b/Rules.mak
index 0ac462110..c02d48823 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -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