[Scummvm-cvs-logs] CVS: scummvm Makefile,1.104,1.105

Max Horn fingolfin at users.sourceforge.net
Mon Nov 7 15:53:13 CET 2005


Update of /cvsroot/scummvm/scummvm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19364

Modified Files:
	Makefile 
Log Message:
Use -force_cpusubtype_ALL for OS X statics, to ensure compatibility with G3 systems

Index: Makefile
===================================================================
RCS file: /cvsroot/scummvm/scummvm/Makefile,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- Makefile	14 Oct 2005 11:24:46 -0000	1.104
+++ Makefile	7 Nov 2005 23:52:09 -0000	1.105
@@ -104,9 +104,12 @@
 # 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 \





More information about the Scummvm-git-logs mailing list