Fixed building on ppc64le

This commit is contained in:
Julian Sikorski 2016-11-07 21:35:51 +01:00
parent d733b5451a
commit 6ff12773a8

View File

@ -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