Disable llvm-config logic due to optimistic assumption of "having the ocaml bindings". Also add NO_LLVM override make-var, for good measure.

This commit is contained in:
Graydon Hoare 2010-07-10 19:58:02 -07:00
parent ab3921f27e
commit 5e0757f0ba

View File

@ -23,7 +23,11 @@ CFG_GCC_CFLAGS :=
CFG_GCC_LINK_FLAGS :=
CFG_VALGRIND :=
CFG_LLVM_CONFIG := llvm-config
# Issue #102, LLVM-config logic is assuming "presence of llvm-config"
# means "presence of ocaml bindings". Commenting out for now.
# CFG_LLVM_CONFIG := llvm-config
CFG_LLVM_CONFIG :=
CFG_BOOT_FLAGS := $(FLAGS)
ifeq ($(CFG_OSTYPE), Linux)
@ -150,6 +154,10 @@ ifdef NO_VALGRIND
CFG_VALGRIND :=
endif
ifdef NO_LLVM
CFG_LLVM_CONFIG :=
endif
ifneq ($(CFG_LLVM_CONFIG),)
CFG_LLVM_CONFIG := $(shell which $(CFG_LLVM_CONFIG))
endif