diff options
author | Pixel <pixel@nobis-crew.org> | 2009-11-06 15:06:55 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-11-06 15:06:55 -0800 |
commit | d5c7ebc69fd6af08e538dda2fe442cee7ad1d41e (patch) | |
tree | d04fa20dd643c6ee0c2d9a460f4a143ac46df117 | |
parent | 1af5bbbb0f9b484e332b16d2ea1ac93949d65eea (diff) |
Fixing dist command for darwin, and actually forcing i386 compilation for it.
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 \ |