From 6ff12773a8cdcaaa9bad58e885a75ce3d72801b8 Mon Sep 17 00:00:00 2001 From: Julian Sikorski Date: Mon, 7 Nov 2016 21:35:51 +0100 Subject: Fixed building on ppc64le --- makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'makefile') diff --git a/makefile b/makefile index adf1467ffc8..6c3518f3925 100644 --- a/makefile +++ b/makefile @@ -280,6 +280,9 @@ endif ifeq ($(firstword $(filter ppc64,$(UNAME))),ppc64) ARCHITECTURE := _x64 endif +ifeq ($(firstword $(filter ppc64le,$(UNAME))),ppc64le) +ARCHITECTURE := _x64 +endif endif else @@ -342,8 +345,12 @@ BIGENDIAN := 1 endif # Linux ifneq (,$(findstring ppc,$(UNAME))) +ifneq (,$(findstring ppc64le,$(UNAME))) +BIGENDIAN := 0 +else BIGENDIAN := 1 endif +endif endif # BIGENDIAN ifndef PYTHON_EXECUTABLE -- cgit v1.2.3