mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-23 04:14:28 +00:00
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:
parent
ab3921f27e
commit
5e0757f0ba
10
src/Makefile
10
src/Makefile
@ -23,7 +23,11 @@ CFG_GCC_CFLAGS :=
|
|||||||
CFG_GCC_LINK_FLAGS :=
|
CFG_GCC_LINK_FLAGS :=
|
||||||
CFG_VALGRIND :=
|
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)
|
CFG_BOOT_FLAGS := $(FLAGS)
|
||||||
|
|
||||||
ifeq ($(CFG_OSTYPE), Linux)
|
ifeq ($(CFG_OSTYPE), Linux)
|
||||||
@ -150,6 +154,10 @@ ifdef NO_VALGRIND
|
|||||||
CFG_VALGRIND :=
|
CFG_VALGRIND :=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef NO_LLVM
|
||||||
|
CFG_LLVM_CONFIG :=
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq ($(CFG_LLVM_CONFIG),)
|
ifneq ($(CFG_LLVM_CONFIG),)
|
||||||
CFG_LLVM_CONFIG := $(shell which $(CFG_LLVM_CONFIG))
|
CFG_LLVM_CONFIG := $(shell which $(CFG_LLVM_CONFIG))
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user