summaryrefslogtreecommitdiffstats
path: root/Rules.mak
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-19 06:24:20 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-19 06:24:20 +0000
commite2f6ebd3f2969753e4ffc337ce5fb6cdf9d74775 (patch)
treeaa7553e1b76e25ecdaa3aa7a2b8e29d9159f8974 /Rules.mak
parent6893f5d8b3fdf6ce65274b90b0b4b0bda9107b17 (diff)
downloaduClibc-alpine-e2f6ebd3f2969753e4ffc337ce5fb6cdf9d74775.tar.bz2
uClibc-alpine-e2f6ebd3f2969753e4ffc337ce5fb6cdf9d74775.tar.xz
Fix up breakage resulting from flipping the sense of some defines. Change from
defining things to "0" in the disabled case to outright undefining them, lest code that does an "#ifdef FOO" get inadvertantly triggered. Remove now unneeded lines from Rules.mak which makes the command line smaller and avoids redundancy (since this stuff is now pulled in via features.h). -Erik
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak17
1 files changed, 0 insertions, 17 deletions
diff --git a/Rules.mak b/Rules.mak
index 4367ae62d..3d9689c1b 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -51,23 +51,6 @@ ifndef $(PREFIX)
PREFIX = `pwd`/_install
endif
-ifneq ($(strip $(HAS_MMU)),true)
- CFLAGS += -D__HAS_NO_MMU__
-endif
-
-ifneq ($(strip $(HAS_FLOATS)),true)
- CFLAGS += -D__HAS_NO_FLOATS__
-endif
-
-ifeq ($(strip $(TARGET_ARCH)),m68k)
- CFLAGS += -D__VFORK_MACRO__ -Dconst= -D__const= -D__extension__=
-endif
-
-
-ifeq ($(strip $(TARGET_ARCH)),sh)
- CFLAGS += -DNO_UNDERSCORES
-endif
-
NATIVE_ARCH = $(shell uname -m | sed -e 's/i.86/i386/' -e 's/sparc.*/sparc/' -e 's/arm.*/arm/g' -e 's/m68k.*/m68k/')
# It turns out the currently, function-sections causes ldelf2flt to segfault.