diff -up ./source/mupen64plus-core/projects/unix/Makefile.orig ./source/mupen64plus-core/projects/unix/Makefile --- ./source/mupen64plus-core/projects/unix/Makefile.orig 2018-10-19 05:03:40.540341539 +0000 +++ ./source/mupen64plus-core/projects/unix/Makefile 2018-10-19 05:05:39.426351910 +0000 @@ -123,6 +123,13 @@ ifneq ("$(filter mips,$(HOST_CPU))","") NO_ASM := 1 $(warning Architecture "$(HOST_CPU)" not officially supported.') endif +ifneq ("$(filter aarch64,$(HOST_CPU))","") + CPU := AARCH + ARCH_DETECTED := 64BITS + PIC ?= 1 + NEW_DYNAREC := 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 -up ./source/mupen64plus-rsp-hle/projects/unix/Makefile.orig ./source/mupen64plus-rsp-hle/projects/unix/Makefile --- ./source/mupen64plus-rsp-hle/projects/unix/Makefile.orig 2018-10-19 05:07:52.157062210 +0000 +++ ./source/mupen64plus-rsp-hle/projects/unix/Makefile 2018-10-19 05:09:25.437778086 +0000 @@ -117,6 +117,11 @@ ifneq ("$(filter mips,$(HOST_CPU))","") PIC ?= 1 $(warning Architecture "$(HOST_CPU)" not officially supported.') endif +ifneq ("$(filter aarch64,$(HOST_CPU))","") + CPU := AARCH + ARCH_DETECTED := 64BITS + PIC ?= 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 -up ./source/mupen64plus-video-rice/projects/unix/Makefile.orig ./source/mupen64plus-video-rice/projects/unix/Makefile --- ./source/mupen64plus-video-rice/projects/unix/Makefile.orig 2018-10-19 05:13:43.234811312 +0000 +++ ./source/mupen64plus-video-rice/projects/unix/Makefile 2018-10-19 05:14:29.829167192 +0000 @@ -114,6 +114,12 @@ ifneq ("$(filter arm%,$(HOST_CPU))","") $(warning Architecture "$(HOST_CPU)" not officially supported.') endif endif +ifneq ("$(filter aarch64,$(HOST_CPU))","") + CPU := AARCH + 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 -up ./source/mupen64plus-video-glide64mk2/projects/unix/Makefile.orig ./source/mupen64plus-video-glide64mk2/projects/unix/Makefile --- ./source/mupen64plus-video-glide64mk2/projects/unix/Makefile.orig 2018-10-19 05:20:59.032845914 +0000 +++ ./source/mupen64plus-video-glide64mk2/projects/unix/Makefile 2018-10-19 05:21:47.199281281 +0000 @@ -117,6 +117,12 @@ ifneq ("$(filter arm%,$(HOST_CPU))","") $(warning Architecture "$(HOST_CPU)" not officially supported.') endif endif +ifneq ("$(filter aarch64,$(HOST_CPU))","") + CPU := AARCH + 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