commit bea13c27623fb389d20cb90d0e26fffb1da10534
parent 32ba23d2e3d4462db224041927c8c4d08497f1a9
Author: rminnich@gmail.com <none@none>
Date: Mon, 8 Nov 2010 10:53:09 -0800
merge from yiyus
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/Makefrag b/src/Makefrag
@@ -11,7 +11,10 @@ endif
# Host environment compiler options
HOST_CC := $(CC) -fno-inline
-HOST_LD := $(LD)
+ifeq ($(OS),darwin)
+ HOST_CC := $(HOST_CC) -D_XOPEN_SOURCE -arch i386 -m32
+endif
+HOST_LD := $(LD) -arch i386
HOST_AR := $(AR)
HOST_LDFLAGS := $(COMMON_LDFLAGS)
HOST_CFLAGS := $(COMMON_CFLAGS)