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