From: Mark Sibly Date: Mon, 21 Sep 2015 02:16:08 +0000 (+1200) Subject: Updated bmk. X-Git-Tag: v151~6 X-Git-Url: https://jcornell.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=3cf91600195cc4fcf5d6233074189edaaa4e3cbe;p=blitzmax.git Updated bmk. --- diff --git a/src/bmk/bmk_util.bmx b/src/bmk/bmk_util.bmx index 2b31d30..ebe65b8 100644 --- a/src/bmk/bmk_util.bmx +++ b/src/bmk/bmk_util.bmx @@ -114,7 +114,7 @@ Function Assemble( src$,obj$ ) cmd="nasm -f macho" Else cmd="as -arch i386" -' cmd:+" -mmacosx-version-min=10.6" +' cmd:+" -mmacosx-version-min=10.6" 'barfs out on old 'as'. disable ld warnings instead... EndIf EndIf cmd:+" -W -o "+CQuote(obj)+" "+CQuote(src); @@ -151,8 +151,8 @@ Function CompileC( src$,obj$,opts$ ) Else opts:+" -arch i386" EndIf - - opts:+" -mmacosx-version-min=10.6" 'build for Snow Leopard++ + + If macos_version>=$1060 opts:+" -mmacosx-version-min=10.6" 'build for Snow Leopard++ ' If macos_version>=$1070 'Lion? ' opts:+" -mmacosx-version-min=10.4" '...can build for Tiger++ @@ -264,7 +264,7 @@ Function LinkApp( path$,lnk_files:TList,makelib ) cmd:+" -arch i386 -read_only_relocs suppress" EndIf - cmd:+" -w -mmacosx-version-min=10.6" 'build for Snow Leopard++ + If macos_version>=$1060 cmd:+" -w -mmacosx-version-min=10.6" 'build for Snow Leopard++ ' If macos_version>=$1070 'Lion? ' cmd:+" -mmacosx-version-min=10.4" '...can build for Tiger++