mirror of
https://github.com/holub/mame
synced 2025-06-08 05:44:09 +03:00
Fixed building on ppc64le
This commit is contained in:
parent
d733b5451a
commit
6ff12773a8
7
makefile
7
makefile
@ -280,6 +280,9 @@ endif
|
|||||||
ifeq ($(firstword $(filter ppc64,$(UNAME))),ppc64)
|
ifeq ($(firstword $(filter ppc64,$(UNAME))),ppc64)
|
||||||
ARCHITECTURE := _x64
|
ARCHITECTURE := _x64
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(firstword $(filter ppc64le,$(UNAME))),ppc64le)
|
||||||
|
ARCHITECTURE := _x64
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
else
|
else
|
||||||
@ -342,8 +345,12 @@ BIGENDIAN := 1
|
|||||||
endif
|
endif
|
||||||
# Linux
|
# Linux
|
||||||
ifneq (,$(findstring ppc,$(UNAME)))
|
ifneq (,$(findstring ppc,$(UNAME)))
|
||||||
|
ifneq (,$(findstring ppc64le,$(UNAME)))
|
||||||
|
BIGENDIAN := 0
|
||||||
|
else
|
||||||
BIGENDIAN := 1
|
BIGENDIAN := 1
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
endif # BIGENDIAN
|
endif # BIGENDIAN
|
||||||
|
|
||||||
ifndef PYTHON_EXECUTABLE
|
ifndef PYTHON_EXECUTABLE
|
||||||
|
Loading…
Reference in New Issue
Block a user