]> git.lizzy.rs Git - rust.git/commit
Fix the Linux nightly build by adding a LLVM_CONFIG_<target-triple> dep.
authorRyan Prichard <ryan.prichard@gmail.com>
Tue, 17 Mar 2015 04:13:36 +0000 (21:13 -0700)
committerRyan Prichard <ryan.prichard@gmail.com>
Tue, 17 Mar 2015 04:13:36 +0000 (21:13 -0700)
commitb07a1dfcd12348541e81c809b59af9ff56fc1103
tree5f70bb8ccf2ef8a8bc08aca61c4e940126814ed9
parent1760e8749a46d8b64f8411a08a79d90e2b5f966e
Fix the Linux nightly build by adding a LLVM_CONFIG_<target-triple> dep.

The RUST_TARGET_STAGE_N rule uses LLVM_LIBDIR_RUSTFLAGS_<target-triple>,
which expands to -L "$(llvm-config --libdir)" when the target-triple is
also a host-triple. Rather than expand to -L "" if llvm-config has not yet
been built, add a dependency on the target llvm-config.

When the target-triple is not a host-triple, the new LLVM_CONFIG_$(2)
dependency should expand to nothing.
mk/target.mk