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"
|
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"
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue