aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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 \