diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-11-21 01:17:44 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-11-21 01:17:44 +0000 |
commit | e75a596ed9002cd24508e822b6e989ff05373334 (patch) | |
tree | 1b1d32fe5c23ef29446553e6cf565c2289e1164f /Rules.mak | |
parent | 498a87d196ac72cc446b7700c0953f2f9256e70f (diff) |
Doh! Manuel noticed I'd put the CFLAGS before DODEBUG, killing
any chance of actually building with debug symbols.
-Erik
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -152,6 +152,9 @@ endif # Add a bunch of extra pedantic annoyingly strict checks WARNINGS+=-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing +# Some nice CFLAGS to work with +CFLAGS:=$(WARNINGS) $(OPTIMIZATION) -fno-builtin -nostdinc $(CPUFLAGS) \ + -D_LIBC $(CPU_CFLAGS-y) $(ARCH_CFLAGS) -I$(TOPDIR)include -I. ifeq ($(DODEBUG),y) CFLAGS += -g @@ -162,10 +165,6 @@ else LDFLAGS := $(CPU_LDFLAGS-y) -s -shared --warn-common --warn-once -z combreloc endif -# Some nice CFLAGS to work with -CFLAGS:=$(WARNINGS) $(OPTIMIZATION) -fno-builtin -nostdinc $(CPUFLAGS) \ - -D_LIBC $(CPU_CFLAGS-y) $(ARCH_CFLAGS) -I$(TOPDIR)include -I. - # Sigh, some stupid versions of gcc can't seem to cope with '-iwithprefix include' #CFLAGS+=-iwithprefix include CFLAGS+=$(shell $(CC) -print-search-dirs | sed -ne "s/install: *\(.*\)/-I\1include/gp") |