mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-18 17:08:32 +00:00
Update buildsh.nimf (#15945)
fix powerpc64le detection
(cherry picked from commit 778914c3ca)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user