Enable nim-lang to build correctly on illumos-based systems (#19952)

This commit is contained in:
Sam Zaydel 2022-06-30 14:16:50 -07:00 • committed by GitHub
commit 306810a748
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -164,7 +164,7 @@ esac
case $ucpu in case $ucpu in
*i386* | *i486* | *i586* | *i686* | *bepc* | *i86pc* ) *i386* | *i486* | *i586* | *i686* | *bepc* | *i86pc* )
if [ "$isOpenIndiana" = "yes" ] ; then if [ "$isOpenIndiana" = "yes" ] || [ `uname -o` == "illumos" ] ; then
mycpu="amd64" mycpu="amd64"
else else
mycpu="i386" mycpu="i386"