diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-05 04:24:37 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-05 04:24:37 +0000 |
commit | 4ed558cdc7bfccf690ba9bc858405c6fce3d4c92 (patch) | |
tree | 37d9f8676bd83a01122fa60aa6b76d2d097eb18d | |
parent | 91ae51d51e1bb51977c53b1403969f522405d19c (diff) |
replaced CPU -march flags with a FAT/Universal build for Mac OS X
svn path=/trunk/externals/ext13/; revision=11679
-rw-r--r-- | Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -17,16 +17,12 @@ ifeq ($(UNAME),Darwin) SOURCES += EXTENSION = pd_darwin OS = macosx - CFLAGS += -fPIC OPT_CFLAGS = -ftree-vectorize -ftree-vectorizer-verbose=2 -fast - LDFLAGS += -bundle -undefined dynamic_lookup + FAT_FLAGS = -arch i386 -arch ppc -mmacosx-version-min=10.4 + CFLAGS += -fPIC $(FAT_FLAGS) + LDFLAGS += -bundle -undefined dynamic_lookup $(FAT_FLAGS) LIBS += -lc STRIP = strip -x - ifeq ($(shell uname -m),i386) - OPT_CFLAGS += -march=pentium-m - else - OPT_CFLAGS += -march=7400 - endif endif ifeq ($(UNAME),Linux) SOURCES += cdplayer.c ossmixer.c promiscous~.c |