diff options
author | Max Horn | 2005-11-07 23:52:09 +0000 |
---|---|---|
committer | Max Horn | 2005-11-07 23:52:09 +0000 |
commit | 0ca7c7b6c69154bb5d605dfe0f41bb9cd480c7ea (patch) | |
tree | e511014e5ac2afd0a8783a9a2812064fef63d59a /Makefile | |
parent | fdeacb2d24ce674eb1732bc733e573bc48d99f7a (diff) | |
download | scummvm-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-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 \ |