diff -ur mupen64plus-bundle-src-2.5.orig/source/mupen64plus-core/projects/unix/Makefile mupen64plus-bundle-src-2.5/source/mupen64plus-core/projects/unix/Makefile --- mupen64plus-bundle-src-2.5.orig/source/mupen64plus-core/projects/unix/Makefile 2015-04-26 16:42:49.000000000 -0600 +++ mupen64plus-bundle-src-2.5/source/mupen64plus-core/projects/unix/Makefile 2020-05-24 18:34:08.039720649 -0600 @@ -89,6 +89,13 @@ NO_ASM := 1 $(warning Architecture "$(HOST_CPU)" not officially supported.') endif +ifneq ("$(filter ppc64le,$(HOST_CPU))","") + CPU := PPC + ARCH_DETECTED := 64BITS + PIC ?= 1 + NO_ASM := 1 + $(warning Architecture "$(HOST_CPU)" not officially supported.') +endif ifneq ("$(filter arm%,$(HOST_CPU))","") ifeq ("$(filter arm%b,$(HOST_CPU))","") CPU := ARM @@ -116,6 +123,16 @@ $(warning Architecture "$(HOST_CPU)" not officially supported.') endif endif +ifneq ("$(filter aarch64,$(HOST_CPU))","") + CPU := ARM + ARCH_DETECTED := 64BITS + PIC ?= 1 + NEW_DYNAREC := 1 + ifeq ($(NEON), 1) + CFLAGS += -mfpu=neon -mfloat-abi=hard + endif + $(warning Architecture "$(HOST_CPU)" not officially supported.') +endif ifneq ("$(filter mips,$(HOST_CPU))","") CPU := MIPS ARCH_DETECTED := 32BITS diff -ur mupen64plus-bundle-src-2.5.orig/source/mupen64plus-rsp-hle/projects/unix/Makefile mupen64plus-bundle-src-2.5/source/mupen64plus-rsp-hle/projects/unix/Makefile --- mupen64plus-bundle-src-2.5.orig/source/mupen64plus-rsp-hle/projects/unix/Makefile 2015-04-26 16:42:54.000000000 -0600 +++ mupen64plus-bundle-src-2.5/source/mupen64plus-rsp-hle/projects/unix/Makefile 2020-05-24 18:35:07.837550230 -0600 @@ -103,6 +103,12 @@ PIC ?= 1 $(warning Architecture "$(HOST_CPU)" not officially supported.') endif +ifneq ("$(filter ppc64le,$(HOST_CPU))","") + CPU := PPC + ARCH_DETECTED := 64BITS + PIC ?= 1 + $(warning Architecture "$(HOST_CPU)" not officially supported.') +endif ifneq ("$(filter arm%,$(HOST_CPU))","") ifeq ("$(filter arm%b,$(HOST_CPU))","") CPU := ARM @@ -111,6 +117,12 @@ $(warning Architecture "$(HOST_CPU)" not officially supported.') endif endif +ifneq ("$(filter aarch64,$(HOST_CPU))","") + CPU := ARM + ARCH_DETECTED := 64BITS + PIC ?= 1 + $(warning Architecture "$(HOST_CPU)" not officially supported.') +endif ifneq ("$(filter mips,$(HOST_CPU))","") CPU := MIPS ARCH_DETECTED := 32BITS diff -ur mupen64plus-bundle-src-2.5.orig/source/mupen64plus-video-glide64mk2/projects/unix/Makefile mupen64plus-bundle-src-2.5/source/mupen64plus-video-glide64mk2/projects/unix/Makefile --- mupen64plus-bundle-src-2.5.orig/source/mupen64plus-video-glide64mk2/projects/unix/Makefile 2015-04-26 16:42:57.000000000 -0600 +++ mupen64plus-bundle-src-2.5/source/mupen64plus-video-glide64mk2/projects/unix/Makefile 2020-05-24 18:35:45.373443255 -0600 @@ -108,6 +108,13 @@ NO_ASM := 1 $(warning Architecture "$(HOST_CPU)" not officially supported.') endif +ifneq ("$(filter ppc64le,$(HOST_CPU))","") + CPU := PPC + ARCH_DETECTED := 64BITS + PIC ?= 1 + NO_ASM := 1 + $(warning Architecture "$(HOST_CPU)" not officially supported.') +endif ifneq ("$(filter arm%,$(HOST_CPU))","") ifeq ("$(filter arm%b,$(HOST_CPU))","") CPU := ARM @@ -117,6 +124,12 @@ $(warning Architecture "$(HOST_CPU)" not officially supported.') endif endif +ifneq ("$(filter aarch64,$(HOST_CPU))","") + CPU := ARM + ARCH_DETECTED := 64BITS + PIC ?= 1 + NO_ASM := 1 +endif ifeq ("$(CPU)","NONE") $(error CPU type "$(HOST_CPU)" not supported. Please file bug report at 'http://code.google.com/p/mupen64plus/issues') endif diff -ur mupen64plus-bundle-src-2.5.orig/source/mupen64plus-video-rice/projects/unix/Makefile mupen64plus-bundle-src-2.5/source/mupen64plus-video-rice/projects/unix/Makefile --- mupen64plus-bundle-src-2.5.orig/source/mupen64plus-video-rice/projects/unix/Makefile 2015-04-26 16:42:56.000000000 -0600 +++ mupen64plus-bundle-src-2.5/source/mupen64plus-video-rice/projects/unix/Makefile 2020-05-24 18:36:24.465331847 -0600 @@ -105,6 +105,13 @@ NO_ASM := 1 $(warning Architecture "$(HOST_CPU)" not officially supported.') endif +ifneq ("$(filter ppc64le,$(HOST_CPU))","") + CPU := PPC + ARCH_DETECTED := 64BITS + PIC ?= 1 + NO_ASM := 1 + $(warning Architecture "$(HOST_CPU)" not officially supported.') +endif ifneq ("$(filter arm%,$(HOST_CPU))","") ifeq ("$(filter arm%b,$(HOST_CPU))","") CPU := ARM @@ -114,6 +121,13 @@ $(warning Architecture "$(HOST_CPU)" not officially supported.') endif endif +ifneq ("$(filter aarch64,$(HOST_CPU))","") + CPU := ARM + ARCH_DETECTED := 64BITS + PIC ?= 1 + NO_ASM := 1 + $(warning Architecture "$(HOST_CPU)" not officially supported.') +endif ifeq ("$(CPU)","NONE") $(error CPU type "$(HOST_CPU)" not supported. Please file bug report at 'http://code.google.com/p/mupen64plus/issues') endif