From 8c29d069db1898b519c6c610a91a25b5ffb8c9d0 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 1 Jan 2001 22:16:11 +0000 Subject: A bunch of updates, part from Manuel Novoa III (such as more long long support), and other updates by me (better cross platform, cross-compiler, etc, support. Now compiles with 2.0.x kernels for armnommu. --- Rules.mak | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Rules.mak') diff --git a/Rules.mak b/Rules.mak index 600ce5ea8..f081affe4 100644 --- a/Rules.mak +++ b/Rules.mak @@ -39,11 +39,11 @@ endif CFLAGS=$(ARCH_CFLAGS) $(CCFLAGS) $(DEFS) ifeq ($(DODEBUG),true) - CFLAGS += -Wall -g + CFLAGS += $(WARNINGS) -g LDFLAGS = -nostdlib -Wl,-warn-common STRIPTOOL = /bin/true -Since_we_are_debugging else - CFLAGS += -Wall #-fomit-frame-pointer + CFLAGS += $(WARNINGS) #-fomit-frame-pointer LDFLAGS = -s -nostdlib -Wl,-warn-common endif @@ -53,15 +53,15 @@ endif ifneq ($(HAS_MMU),true) CFLAGS += -D__HAS_NO_MMU__ + ARCH_DIR = $(shell echo $(TARGET_ARCH)nommu) +else + ARCH_DIR = $(TARGET_ARCH) endif ifneq ($(HAS_FLOATS),true) CFLAGS += -D__HAS_NO_FLOATS__ endif -ifneq ($(DO_FIXME_STUFF),true) - CFLAGS += -DFIXME -endif # Use '-ffunction-sections -fdata-sections' and '--gc-sections' if they work -- cgit v1.2.3