summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
authorGravatarGravatar Julian Sikorski <belegdol+github@gmail.com>2016-11-07 21:35:51 +0100
committerGravatarGravatar Julian Sikorski <belegdol+github@gmail.com>2016-11-07 21:35:51 +0100
commit6ff12773a8cdcaaa9bad58e885a75ce3d72801b8 (patch)
tree625cce707a03a4a2a6c2fb20b6b968fba026e0a5 /makefile
parentd733b5451ace5b45b2009add6495fb894fbb4d44 (diff)
Fixed building on ppc64le
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