summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-15 13:41:20 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-15 13:41:20 +0000
commitff044eda5d5e6ec7af7358d743db1d3fe8021727 (patch)
tree8d17d24827ecb692e971cdf67c5e01cf82dbc03d
parent79aabd53ec66b4c8cb05479cf6564035a4f7f8fd (diff)
Warn using $(WARNINGS)
-rw-r--r--Rules.mak6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rules.mak b/Rules.mak
index dd5206545..5adde3813 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -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