Update buildsh.nimf (#15945)

fix powerpc64le detection
This commit is contained in:
lenoil98 2020-11-13 02:16:20 -05:00 • committed by GitHub
commit 778914c3ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -159,9 +159,10 @@ case $ucpu in
COMP_FLAGS="$COMP_FLAGS -m64" COMP_FLAGS="$COMP_FLAGS -m64"
LINK_FLAGS="$LINK_FLAGS -m64" LINK_FLAGS="$LINK_FLAGS -m64"
mycpu=`uname -p` mycpu=`uname -p`
if [ "$(mycpu)" = "powerpc64le"] ; then case $mycpu in
mycpu="powerpc64el" powerpc64le)
fi mycpu="powerpc64el"
esac
else else
mycpu="powerpc" mycpu="powerpc"
fi fi