From de399ebdbf979fb73cecdf1fa4cb313b71418bd4 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 11 Dec 2020 12:09:59 +0000 Subject: [PATCH] build: override ARCH to sh on sh4 systems --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index e15bcfb..fde3019 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,9 @@ ARCH := $(shell uname -m) ifeq ($(ARCH),$(filter $(ARCH),i386 i686)) override ARCH = x86 endif +ifeq ($(ARCH),$(filter $(ARCH),sh2 sh4)) + override ARCH = sh +endif LIBDIR := /lib INCLUDEDIR := /usr/include