diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-04-28 22:20:12 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-05-01 17:11:29 +0200 |
| commit | 234a9d0cb7d0f211744146261e212d520c0d5b07 (patch) | |
| tree | 0f26e267bef5fc992b03c7353810b04d9996f060 /Makefile | |
| parent | 7a1f08b8338c9f47606b289ee742360f32a5c36a (diff) | |
| download | sparse-dev-234a9d0cb7d0f211744146261e212d520c0d5b07.tar.gz | |
build: disable LLVM on x86-64-x32
as currently, some LLVM tests fail on this environment
(llvm doesn't seems to be correct on debian x32, for
example the host triple is set as "x86_64-pc-linux-gnu"
while something like "x86_64-linux-gnux32" is expected
in order to make the difference between the two).
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Acked-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -144,6 +144,9 @@ LLVM_CONFIG:=llvm-config HAVE_LLVM:=$(shell $(LLVM_CONFIG) --version >/dev/null 2>&1 && echo 'yes') ifeq ($(HAVE_LLVM),yes) arch := $(shell uname -m) +ifeq (${MULTIARCH_TRIPLET},x86_64-linux-gnux32) +arch := x32 +endif ifneq ($(filter ${arch},i386 i486 i586 i686 x86_64 amd64),) LLVM_VERSION:=$(shell $(LLVM_CONFIG) --version) ifeq ($(shell expr "$(LLVM_VERSION)" : '[3-9]\.'),2) |
