Update buildsh.nimf (#15945)

fix powerpc64le detection

(cherry picked from commit 778914c3ca)
This commit is contained in:
lenoil98
2020-11-13 02:16:20 -05:00
committed by narimiran
parent efaa55d429
commit b3b7a1e73f

View File

@@ -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