diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-01-15 13:41:20 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-01-15 13:41:20 +0000 |
commit | ff044eda5d5e6ec7af7358d743db1d3fe8021727 (patch) | |
tree | 8d17d24827ecb692e971cdf67c5e01cf82dbc03d | |
parent | 79aabd53ec66b4c8cb05479cf6564035a4f7f8fd (diff) |
Warn using $(WARNINGS)
-rw-r--r-- | Rules.mak | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -33,16 +33,16 @@ OPTIMIZATION = $(shell if $(CC) -Os -S -o /dev/null -xc /dev/null >/dev/null 2>& ARFLAGS=r -CCFLAGS=$(OPTIMIZATION) -fno-builtin -nostdinc $(CPUFLAGS) -Dlinux -D__linux__ -I$(TOPDIR)include -I$(GCCINCDIR) -I. -D__LIBC__ +CCFLAGS=$(WARNINGS) $(OPTIMIZATION) -fno-builtin -nostdinc $(CPUFLAGS) -Dlinux -D__linux__ -I$(TOPDIR)include -I$(GCCINCDIR) -I. -D__LIBC__ CFLAGS=$(ARCH_CFLAGS) $(CCFLAGS) $(DEFS) ifeq ($(DODEBUG),true) - CFLAGS += $(WARNINGS) -g + CFLAGS += -g LDFLAGS = -nostdlib -Wl,-warn-common STRIPTOOL = /bin/true -Since_we_are_debugging else - CFLAGS += -DNDEBUG $(WARNINGS) #-fomit-frame-pointer + CFLAGS += -DNDEBUG #-fomit-frame-pointer LDFLAGS = -s -nostdlib -Wl,-warn-common endif |