Fix CPU detection for i386 (#19577)
* Fix CPU detection for i386
Commit 787def271b breaks CPU detection for i386 on OpenBSD and probably on other platforms.
[ isOpenIndiana -eq "yes" ] always returns 0, so mycpu is always set to "amd64".
* Update buildsh.nimf
Fix accidental bashism
This commit is contained in:
parent
590d397852
commit
488e18f90d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 -eq "yes" ] ; then
|
if [ "$isOpenIndiana" = "yes" ] ; then
|
||||||
mycpu="amd64"
|
mycpu="amd64"
|
||||||
else
|
else
|
||||||
mycpu="i386"
|
mycpu="i386"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue