summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/makefile b/makefile
index 6c3518f3925..dcfb3aa0ce8 100644
--- a/makefile
+++ b/makefile
@@ -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