summary refs log tree commit diff stats
path: root/tools/niminst/buildsh.nimf
diff options
context:
space:
mode:
Diffstat (limited to 'tools/niminst/buildsh.nimf')
-rw-r--r--tools/niminst/buildsh.nimf2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/niminst/buildsh.nimf b/tools/niminst/buildsh.nimf
index 7a05ef342..6b99c49ee 100644
--- a/tools/niminst/buildsh.nimf
+++ b/tools/niminst/buildsh.nimf
@@ -164,7 +164,7 @@ esac
 
 case $ucpu in
   *i386* | *i486* | *i586* | *i686* | *bepc* | *i86pc* )
-    if [ "$isOpenIndiana" = "yes" ] ; then
+    if [ "$isOpenIndiana" = "yes" ] || [ `uname -o` == "illumos" ] ; then
       mycpu="amd64"
     else
       mycpu="i386"