summaryrefslogtreecommitdiffstats
path: root/Rules.mak
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-12 10:53:48 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-12 10:53:48 +0000
commitddaf94095891a21cedd6a18d9178e4444fb937a7 (patch)
treeb47bcefa33533e4f41ecce4e3a1bee1d215e006e /Rules.mak
parent77879554671206102471bb282accb3251395d151 (diff)
downloaduClibc-alpine-ddaf94095891a21cedd6a18d9178e4444fb937a7.tar.bz2
uClibc-alpine-ddaf94095891a21cedd6a18d9178e4444fb937a7.tar.xz
Patch from James Graves <jgraves@deltamobile.com> to better handle m68k.
Also fixes 2 very important malloc bugs! Anyone using malloc (esp mmu-less) should update and recompile. -Erik
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak3
1 files changed, 3 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index 901976e07..dd5206545 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -58,6 +58,9 @@ ifneq ($(HAS_FLOATS),true)
CFLAGS += -D__HAS_NO_FLOATS__
endif
+ifeq ($(TARGET_ARCH),m68k)
+ CFLAGS += -D__VFORK_MACRO__ -Dconst= -D__const= -D__extension__=
+endif
# It turns out the currently, function-sections causes ldelf2flt to segfault.
# So till further notice, this is disabled by default....