forked from ariadne/libucontext
build: override ARCH to sh on sh4 systems
parent
4ea37b1877
commit
de399ebdbf
3
Makefile
3
Makefile
|
@ -4,6 +4,9 @@ ARCH := $(shell uname -m)
|
||||||
ifeq ($(ARCH),$(filter $(ARCH),i386 i686))
|
ifeq ($(ARCH),$(filter $(ARCH),i386 i686))
|
||||||
override ARCH = x86
|
override ARCH = x86
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(ARCH),$(filter $(ARCH),sh2 sh4))
|
||||||
|
override ARCH = sh
|
||||||
|
endif
|
||||||
|
|
||||||
LIBDIR := /lib
|
LIBDIR := /lib
|
||||||
INCLUDEDIR := /usr/include
|
INCLUDEDIR := /usr/include
|
||||||
|
|
Loading…
Reference in New Issue