Fixed building on s390x

This commit is contained in:
Julian Sikorski 2016-11-07 23:42:32 +01:00
parent 16cff8a838
commit e7bbbf4f45

View file

@ -283,6 +283,9 @@ endif
ifeq ($(firstword $(filter ppc64le,$(UNAME))),ppc64le)
ARCHITECTURE := _x64
endif
ifeq ($(firstword $(filter s390x,$(UNAME))),s390x)
ARCHITECTURE := _x64
endif
endif
else
@ -328,6 +331,12 @@ ifndef NOASM
endif
endif
ifeq ($(findstring s390x,$(UNAME)),s390x)
ifndef NOASM
NOASM := 1
endif
endif
# Emscripten
ifeq ($(findstring emcc,$(CC)),emcc)
TARGETOS := asmjs
@ -351,6 +360,9 @@ else
BIGENDIAN := 1
endif
endif
ifneq (,$(findstring s390x,$(UNAME)))
BIGENDIAN := 1
endif
endif # BIGENDIAN
ifndef PYTHON_EXECUTABLE