aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMax Horn2005-11-07 23:52:09 +0000
committerMax Horn2005-11-07 23:52:09 +0000
commit0ca7c7b6c69154bb5d605dfe0f41bb9cd480c7ea (patch)
treee511014e5ac2afd0a8783a9a2812064fef63d59a /Makefile
parentfdeacb2d24ce674eb1732bc733e573bc48d99f7a (diff)
downloadscummvm-rg350-0ca7c7b6c69154bb5d605dfe0f41bb9cd480c7ea.tar.gz
scummvm-rg350-0ca7c7b6c69154bb5d605dfe0f41bb9cd480c7ea.tar.bz2
scummvm-rg350-0ca7c7b6c69154bb5d605dfe0f41bb9cd480c7ea.zip
Use -force_cpusubtype_ALL for OS X statics, to ensure compatibility with G3 systems
svn-id: r19500
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 48d2626bf8..c4aa6fbccf 100644
--- a/Makefile
+++ b/Makefile
@@ -104,9 +104,12 @@ bundle: scummvm-static
# location of additional libs for OS X usually /sw/ for fink or
# /opt/local/ for darwinports
OSXOPT=/sw
-# Special target to create a static linked binary for Mac OS X
+# Special target to create a static linked binary for Mac OS X.
+# We use -force_cpusubtype_ALL to ensure the binary runs on every
+# PowerPC machine, even though we use Altivec code (we dynamically
+# check whether Altivec is available before trying to run it).
scummvm-static: $(OBJS)
- $(CXX) $(LDFLAGS) -o scummvm-static $(OBJS) \
+ $(CXX) $(LDFLAGS) -force_cpusubtype_ALL -o scummvm-static $(OBJS) \
`sdl-config --static-libs` \
-framework CoreMIDI \
$(OSXOPT)/lib/libmad.a \