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
commit 22ceab0fbb
2 changed files with 5 additions and 0 deletions

View file

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

View file

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