Update buildsh.nimf (#15945)

fix powerpc64le detection
This commit is contained in:
lenoil98
2020-11-13 02:16:20 -05:00
committed by GitHub
parent 1fdfa234d7
commit 778914c3ca

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