diff options
author | Araq <rumpf_a@web.de> | 2010-09-16 01:08:22 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2010-09-16 01:08:22 +0200 |
commit | 9cf4cf02994d55a909c4747b6dcca24bf93543bb (patch) | |
tree | 4209b01dd92596edb5984d80490b9e382fbdc608 /tools | |
parent | 7122973ff59b490b83f1c5ea984e4f08b3ad44e5 (diff) | |
download | Nim-9cf4cf02994d55a909c4747b6dcca24bf93543bb.tar.gz |
mac os x amd64 detection; missing C files added
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/buildsh.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/buildsh.tmpl b/tools/buildsh.tmpl index cdfdbf2c1..da034a76b 100755 --- a/tools/buildsh.tmpl +++ b/tools/buildsh.tmpl @@ -33,7 +33,7 @@ case $uos in *darwin* ) myos="macosx" LINK_FLAGS="$LINK_FLAGS -ldl -lm" - if [ `sysctl hw |grep 64bit` = "hw.cpu64bit_capable: 1" ] ; then + if [ "`sysctl hw |grep 64bit`" = "hw.cpu64bit_capable: 1" ] ; then ucpu="amd64" fi ;; |