diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-12-06 11:07:35 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-12-06 11:18:32 +0100 |
| commit | 8d781d16644e826476b6f410acd5a48e1d7b98d6 (patch) | |
| tree | e5610b340fe3a2979e566263d6ef02c05f1e4532 /Makefile | |
| parent | 9c188dcb35c031978b940db7ab1e4497589e160b (diff) | |
| download | sparse-dev-8d781d16644e826476b6f410acd5a48e1d7b98d6.tar.gz | |
fix: build sparse-llvm on i686s too.
In commit "f1e4ba13d (build: disable sparse-llvm on non-x86)",
we wanted to disable the build of sparse-llvm on non-x86 archs
but the pattern used also excluded machines like 'i686'.
Fix this by using the pattern 'i[3456]86' instead.
Fixes: f1e4ba13d1499407a72349b50052ae818c8d8553
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 '\(i386\|x86\)' && echo ok),ok) +ifeq ($(shell uname -m | grep -q '\(i[3456]86\|x86\)' && echo ok),ok) LLVM_VERSION:=$(shell $(LLVM_CONFIG) --version) ifeq ($(shell expr "$(LLVM_VERSION)" : '[3-9]\.'),2) LLVM_PROGS := sparse-llvm |
