Fix little endian PPC64 architecture detection (#6713)

This commit is contained in:
Sergey Avseyev
2017-11-12 00:55:13 +03:00
committed by Varriount
parent bdd35c9722
commit 22ceab0fbb
2 changed files with 5 additions and 0 deletions

View File

@@ -144,6 +144,8 @@ case $ucpu in
mycpu="sparc64"
fi
;;
*ppc64le* )
mycpu="powerpc64el" ;;
*ppc64* )
if [ "$myos" = "linux" ] ; then
COMP_FLAGS="$COMP_FLAGS -m64"

View File

@@ -107,6 +107,9 @@ endif
ifeq ($(ucpu),sun)
mycpu = sparc
endif
ifeq ($(ucpu),ppc64le)
mycpu = powerpc64el
endif
ifeq ($(ucpu),ppc64)
mycpu = powerpc64
ifeq ($(myos),linux)