Skip to content

Commit

Permalink
Fix little endian PPC64 architecture detection (#6713)
Browse files Browse the repository at this point in the history
  • Loading branch information
avsej authored and Varriount committed Nov 11, 2017
1 parent bdd35c9 commit 22ceab0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/niminst/buildsh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ case $ucpu in
mycpu="sparc64"
fi
;;
*ppc64le* )
mycpu="powerpc64el" ;;
*ppc64* )
if [ "$myos" = "linux" ] ; then
COMP_FLAGS="$COMP_FLAGS -m64"
Expand Down
3 changes: 3 additions & 0 deletions tools/niminst/makefile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 22ceab0

Please sign in to comment.