use clang for macosx in buildsh.tmpl

This commit is contained in:
Araq 2013-03-04 20:45:52 +01:00
commit 14cba208fa

View file

@ -58,6 +58,8 @@ case $uos in
;; ;;
*darwin* ) *darwin* )
myos="macosx" myos="macosx"
CC="clang"
LINKER="clang"
LINK_FLAGS="$LINK_FLAGS -ldl -lm" LINK_FLAGS="$LINK_FLAGS -ldl -lm"
if [ "$HOSTTYPE" = "x86_64" ] ; then if [ "$HOSTTYPE" = "x86_64" ] ; then
ucpu="amd64" ucpu="amd64"