From d5c7ebc69fd6af08e538dda2fe442cee7ad1d41e Mon Sep 17 00:00:00 2001 From: Pixel Date: Fri, 6 Nov 2009 15:06:55 -0800 Subject: Fixing dist command for darwin, and actually forcing i386 compilation for it. --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a086f02..0132d23 100644 --- a/Makefile +++ b/Makefile @@ -1,19 +1,20 @@ SYSTEM=$(shell uname) ifeq ($(SYSTEM),Darwin) -ARCH_FLAGS= +ARCH_FLAGS=-arch i386 SHARED_FLAGS=-dynamiclib SHARED_EXT=dylib CPPFLAGS = -dynamic -LD = g++ +LD = g++ -arch i386 +STRIP = strip -x else ARCH_FLAGS=-march=i686 -m32 SHARED_FLAGS=-shared SHARED_EXT=so LD = g++ -m32 +STRIP = strip --strip-unneeded endif CC = gcc CXX = g++ -STRIP = strip --strip-unneeded INCLUDES = \ -I../Baltisot/include \ -- cgit v1.2.3