Index: branches/2021Q1/emulators/mame/files/patch-makefile =================================================================== --- branches/2021Q1/emulators/mame/files/patch-makefile (revision 561660) +++ branches/2021Q1/emulators/mame/files/patch-makefile (revision 561661) @@ -1,46 +1,81 @@ ---- makefile.orig 2020-10-27 02:00:36.000000000 +0100 -+++ makefile 2020-12-26 00:03:58.094364000 +0100 -@@ -419,15 +419,15 @@ +--- makefile.orig 2020-10-27 01:00:36 UTC ++++ makefile +@@ -319,6 +319,9 @@ endif + ifeq ($(firstword $(filter ppc64,$(UNAME))),ppc64) + ARCHITECTURE := _x64 + endif ++ifeq ($(firstword $(filter powerpc64,$(UNAME))),powerpc64) ++ARCHITECTURE := _x64 ++endif + ifeq ($(firstword $(filter ppc64le,$(UNAME))),ppc64le) + ARCHITECTURE := _x64 + endif +@@ -399,6 +402,13 @@ ifndef FORCE_DRC_C_BACKEND + endif + endif + ++# powerpc has inline assembly support but no DRC ++ifeq ($(findstring powerpc,$(UNAME)),powerpc) ++ifndef FORCE_DRC_C_BACKEND ++ FORCE_DRC_C_BACKEND := 1 ++endif ++endif ++ + # Autodetect BIGENDIAN + # MacOSX + ifndef BIGENDIAN +@@ -416,18 +426,26 @@ endif + ifneq (,$(findstring s390x,$(UNAME))) + BIGENDIAN := 1 + endif ++# FreeBSD ++ifneq (,$(findstring powerpc,$(UNAME))) ++ifneq (,$(findstring powerpc64le,$(UNAME))) ++BIGENDIAN := 0 ++else ++BIGENDIAN := 1 ++endif ++endif endif # BIGENDIAN ifndef PYTHON_EXECUTABLE -PYTHON := python +#PYTHON := python else -PYTHON := $(PYTHON_EXECUTABLE) +#PYTHON := $(PYTHON_EXECUTABLE) endif ifneq ($(TARGETOS),asmjs) -CC := $(SILENT)gcc -LD := $(SILENT)g++ -CXX:= $(SILENT)g++ +#CC := $(SILENT)gcc +#LD := $(SILENT)g++ +#CXX:= $(SILENT)g++ endif #------------------------------------------------- -@@ -558,19 +558,19 @@ +@@ -558,19 +576,19 @@ endif ifdef OVERRIDE_CC PARAMS += --CC='$(OVERRIDE_CC)' ifndef CROSS_BUILD -CC := $(OVERRIDE_CC) +#CC := $(OVERRIDE_CC) endif endif ifdef OVERRIDE_CXX PARAMS += --CXX='$(OVERRIDE_CXX)' ifndef CROSS_BUILD -CXX := $(OVERRIDE_CXX) +#CXX := $(OVERRIDE_CXX) endif endif ifdef OVERRIDE_LD PARAMS += --LD='$(OVERRIDE_LD)' ifndef CROSS_BUILD -LD := $(OVERRIDE_LD) +#LD := $(OVERRIDE_LD) endif endif Index: branches/2021Q1 =================================================================== --- branches/2021Q1 (revision 561660) +++ branches/2021Q1 (revision 561661) Property changes on: branches/2021Q1 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r561660