summary refs log tree commit diff stats
path: root/tools
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-03-04 20:45:52 +0100
committerAraq <rumpf_a@web.de>2013-03-04 20:45:52 +0100
commit14cba208facf1406678fc72560bb1c516f6e1e01 (patch)
tree84591860074756f57c350435cea4a5fcd693dc4a /tools
parentcbf82cad7dd4606093ad1636a2adab079a1f8bce (diff)
downloadNim-14cba208facf1406678fc72560bb1c516f6e1e01.tar.gz
use clang for macosx in buildsh.tmpl
Diffstat (limited to 'tools')
-rwxr-xr-xtools/niminst/buildsh.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/niminst/buildsh.tmpl b/tools/niminst/buildsh.tmpl
index 60a06c93f..e2e2d5ab5 100755
--- a/tools/niminst/buildsh.tmpl
+++ b/tools/niminst/buildsh.tmpl
@@ -58,6 +58,8 @@ case $uos in
     ;;
   *darwin* ) 
     myos="macosx"
+    CC="clang"
+    LINKER="clang"
     LINK_FLAGS="$LINK_FLAGS -ldl -lm"
     if [ "$HOSTTYPE" = "x86_64" ] ; then
       ucpu="amd64"