From ddaf94095891a21cedd6a18d9178e4444fb937a7 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 12 Jan 2001 10:53:48 +0000 Subject: Patch from James Graves to better handle m68k. Also fixes 2 very important malloc bugs! Anyone using malloc (esp mmu-less) should update and recompile. -Erik --- Rules.mak | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Rules.mak') 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.... -- cgit v1.2.3