aboutsummaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-10-26 18:16:23 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-10-26 18:16:23 +0000
commitf981132004fc7dffc0f593c1ae4e2d04689e3c89 (patch)
tree801aa7bb847767db15c671a81a9045836dd00bb7 /externals
parent943576d40c76c5f2a6e41025f2ba87b7971ad58f (diff)
added first stab at making universal builds. Everything compiles, except if I add ppc64 as an architecture
svn path=/trunk/; revision=8886
Diffstat (limited to 'externals')
-rw-r--r--externals/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/externals/Makefile b/externals/Makefile
index ffeaec10..e60ffb51 100644
--- a/externals/Makefile
+++ b/externals/Makefile
@@ -48,8 +48,10 @@ LDFLAGS =
LIBS = -lm
ifeq ($(OS_NAME),darwin)
- CFLAGS += -I/sw/include -DMACOSX -DUNIX -Dunix
- LDFLAGS += -bundle -bundle_loader $(pd_src)/bin/pd -L/sw/lib
+ CFLAGS += -I/sw/include -DMACOSX -DUNIX -Dunix \
+ -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc
+ LDFLAGS += -bundle -bundle_loader $(pd_src)/bin/pd -L/sw/lib \
+ -arch i386 -arch ppc
LIBS += -lc
DYLIB_LDFLAGS = -dynamiclib -read_only_relocs warning -L/sw/lib
DYLIB_EXTENSION = dylib