Fix little endian PPC64 architecture detection (#6713)
This commit is contained in:
parent
bdd35c9722
commit
22ceab0fbb
2 changed files with 5 additions and 0 deletions
|
|
@ -144,6 +144,8 @@ case $ucpu in
|
|||
mycpu="sparc64"
|
||||
fi
|
||||
;;
|
||||
*ppc64le* )
|
||||
mycpu="powerpc64el" ;;
|
||||
*ppc64* )
|
||||
if [ "$myos" = "linux" ] ; then
|
||||
COMP_FLAGS="$COMP_FLAGS -m64"
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue