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);
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++
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++