use clang for macosx in buildsh.tmpl
This commit is contained in:
parent
cbf82cad7d
commit
14cba208fa
1 changed files with 2 additions and 0 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue