For sparse-llvm, the only layouts are for x86 architecture, either 32 or 64bit. So, it's not built for other archs. This is done by parsing the output of 'uname -m' but only 'i[3456]86' or 'x86' are accepted as pattern while 'amd64' is also used. Change the pattern to also accept 'amd64'. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dab38aacd..b2e4a6ca0 100644 --- a/Makefile +++ b/Makefile @@ -142,7 +142,7 @@ endif LLVM_CONFIG:=llvm-config HAVE_LLVM:=$(shell $(LLVM_CONFIG) --version >/dev/null 2>&1 && echo 'yes') ifeq ($(HAVE_LLVM),yes) -ifeq ($(shell uname -m | grep -q '\(i[3456]86\|x86\)' && echo ok),ok) +ifeq ($(shell uname -m | grep -q '\(i[3456]86\|x86\|amd64\)' && echo ok),ok) LLVM_VERSION:=$(shell $(LLVM_CONFIG) --version) ifeq ($(shell expr "$(LLVM_VERSION)" : '[3-9]\.'),2) LLVM_PROGS := sparse-llvm -- 2.16.0 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html