summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-02-05 03:11:51 +0000
committerEric Andersen <andersen@codepoet.org>2001-02-05 03:11:51 +0000
commit7d5029c0b268e944e93f37c578b46e22ea2d739e (patch)
tree1dcf13a7bf1c5093e22d6097dbe8e2fc72adaa43 /Rules.mak
parent8ec3b37ed944a4115ddda440ac443fef54126c89 (diff)
Update the build system a bit.
-Erik
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak8
1 files changed, 4 insertions, 4 deletions
diff --git a/Rules.mak b/Rules.mak
index 8080007f9..250627c15 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -39,7 +39,7 @@ CCFLAGS=$(WARNINGS) $(OPTIMIZATION) -fno-builtin -nostdinc $(CPUFLAGS) -Dlinux -
CFLAGS=$(ARCH_CFLAGS) $(CCFLAGS) $(DEFS) $(ARCH_CFLAGS2)
-ifeq ($(DODEBUG),true)
+ifeq ($(strip $(DODEBUG)),true)
CFLAGS += -g
LDFLAGS = -nostdlib -Wl,-warn-common
STRIPTOOL = /bin/true -Since_we_are_debugging
@@ -52,15 +52,15 @@ ifndef $(PREFIX)
PREFIX = `pwd`/_install
endif
-ifneq ($(HAS_MMU),true)
+ifneq ($(strip $(HAS_MMU)),true)
CFLAGS += -D__HAS_NO_MMU__
endif
-ifneq ($(HAS_FLOATS),true)
+ifneq ($(strip $(HAS_FLOATS)),true)
CFLAGS += -D__HAS_NO_FLOATS__
endif
-ifeq ($(TARGET_ARCH),m68k)
+ifeq ($(strip $(TARGET_ARCH)),m68k)
CFLAGS += -D__VFORK_MACRO__ -Dconst= -D__const= -D__extension__=
endif