diff options
author | 2016-11-07 23:42:32 +0100 | |
---|---|---|
committer | 2016-11-07 23:42:32 +0100 | |
commit | e7bbbf4f453ea4da229ebd4a72726fc58540ecb9 (patch) | |
tree | 583599c87dcf94f568c23501b74062db7b92d615 /makefile | |
parent | 16cff8a8386b98dfdc4f1171f56b6bad21965900 (diff) |
Fixed building on s390x
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 |