offer alternative to arch

This commit is contained in:
czurnieden 2019-02-27 15:47:28 +01:00
parent 9faf305588
commit ec79562352

View File

@ -92,7 +92,7 @@ endif
ifeq ($(PLATFORM),FreeBSD)
_ARCH := $(shell sysctl -b hw.machine_arch)
else
_ARCH := $(shell arch)
_ARCH := $(shell sh -c "if command -v arch 1> /dev/null;then arch;else uname -m;fi")
endif
# adjust coverage set