diff options
author | lenoil98 <hamiltcl@verizon.net> | 2020-11-13 02:16:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-13 08:16:20 +0100 |
commit | 778914c3ca9d6c57b0158d8bf69f92b01b0bd2e1 (patch) | |
tree | ca08e30b012ee723a715d60bb06d5b644f7fa0d9 /tools/niminst | |
parent | 1fdfa234d76d59fd8d5cafd9d53cfdf8bfbf5c0a (diff) | |
download | Nim-778914c3ca9d6c57b0158d8bf69f92b01b0bd2e1.tar.gz |
Update buildsh.nimf (#15945)
fix powerpc64le detection
Diffstat (limited to 'tools/niminst')
-rw-r--r-- | tools/niminst/buildsh.nimf | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/niminst/buildsh.nimf b/tools/niminst/buildsh.nimf index 5ec5d5c2c..e13221781 100644 --- a/tools/niminst/buildsh.nimf +++ b/tools/niminst/buildsh.nimf @@ -159,9 +159,10 @@ case $ucpu in COMP_FLAGS="$COMP_FLAGS -m64" LINK_FLAGS="$LINK_FLAGS -m64" mycpu=`uname -p` - if [ "$(mycpu)" = "powerpc64le"] ; then - mycpu="powerpc64el" - fi + case $mycpu in + powerpc64le) + mycpu="powerpc64el" + esac else mycpu="powerpc" fi |