summary refs log tree commit diff stats
path: root/tools/niminst
diff options
context:
space:
mode:
authorSam Zaydel <szaydel@gmail.com>2022-06-30 14:16:50 -0700
committerGitHub <noreply@github.com>2022-06-30 23:16:50 +0200
commit306810a748ab3e0182f798bea7d2792c64ab856a (patch)
tree2347492501d20a50970d5b053148bf830d8eb471 /tools/niminst
parentad430c0daad16019a6c440ab735a61856523329a (diff)
downloadNim-306810a748ab3e0182f798bea7d2792c64ab856a.tar.gz
Enable nim-lang to build correctly on illumos-based systems (#19952)
Diffstat (limited to 'tools/niminst')
-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"