diff build/Makefile.osx @ 306:b923a3d9c3d5

* Update OS/X stuff in Makefiles, so as to build 3-way universal binaries using 10.4 SDK (where available, or 10.5 otherwise -- though the choice needs to be made by the user)
author cannam
date Fri, 13 Aug 2010 15:08:23 +0000
parents 250c7aaff287
children 003147fdf42c
line wrap: on
line diff
--- a/build/Makefile.osx	Wed Jun 09 13:50:53 2010 +0000
+++ b/build/Makefile.osx	Fri Aug 13 15:08:23 2010 +0000
@@ -58,11 +58,16 @@
 #
 default:	all
 
-# Architecture and developer SDK selection flags.  Define this only
+# Architecture and developer SDK selection flags.  Change these only
 # if you want to select a different OS/X compatibility level from the
-# default (which is to target 10.4 or newer and build universal binaries).
+# default (which is to target 10.4 or newer and build 3-way universal
+# binaries).
+# 
+# If you don't have the 10.4 version of the OS/X SDK, change "10.4u"
+# and "10.4" to "10.5" (or whatever is the oldest SDK available to
+# you) for maximum portability.
 #
-SDKFLAGS	= -isysroot /Developer/SDKs/MacOSX10.4u.sdk 
+SDKFLAGS	= -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4
 ARCHFLAGS	= $(SDKFLAGS) -arch i386 -arch x86_64 -arch ppc
 
 # Compile flags