summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile7
1 files changed, 7 insertions, 0 deletions
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