Commit 13bc0b55e919ee24b8584acc35d17ecb6013d05f

czurnieden 2019-02-28T11:28:07

removed 'arch' command completely

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/makefile_include.mk b/makefile_include.mk
index 2cc33fa..f29d7be 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 sh -c "if command -v arch 1> /dev/null;then arch;else uname -m;fi")
+  _ARCH := $(shell uname -m)
 endif
 
 # adjust coverage set