diff --git a/makefile_include.mk b/makefile_include.mk index 5ebcd5d..2cc33fa 100644 --- a/makefile_include.mk +++ b/makefile_include.mk @@ -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