From 6e13c35334200e7ef918308aeb820404d7b35283 Mon Sep 17 00:00:00 2001 From: Milutin Jovanovic Date: Thu, 16 Feb 2012 11:24:14 -0500 Subject: Attempt to fix 32 bit OSX build. The fix consists of adding -m32 and -m64 to the appropriate CFLAGS. In addition, memory hooks are very different on OSX, so build of bcheck.c had to be disabled for now. Change of the CFLAGS does affect builds on other platforms, and this needs to be tested. --- lib/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Makefile') diff --git a/lib/Makefile b/lib/Makefile index 071c49f..b14f8b5 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -14,11 +14,11 @@ ifndef TARGET else ifeq ($(ARCH),i386) TARGET = i386 - XCC = gcc -O2 + XCC = gcc -O2 -m32 else ifeq ($(ARCH),x86-64) TARGET = x86_64 - XCC = gcc -O2 + XCC = gcc -O2 -m64 endif endif endif -- cgit v1.3.1