mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
Fixed building on s390x
This commit is contained in:
parent
16cff8a838
commit
e7bbbf4f45
1 changed files with 12 additions and 0 deletions
12
makefile
12
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
|
||||
|
|
Loading…
Reference in a new issue