mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-06 04:57:49 +00:00
Fix little endian PPC64 architecture detection (#6713)
This commit is contained in:
committed by
Varriount
parent
bdd35c9722
commit
22ceab0fbb
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user