]> git.lizzy.rs Git - rust.git/commit
mk: Fix native LLVM deps for cross-host builds
authorAlex Crichton <alex@alexcrichton.com>
Mon, 11 May 2015 19:30:47 +0000 (12:30 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 19 May 2015 17:36:00 +0000 (10:36 -0700)
commitee258c548f0303b8d1e315b0c9cb54fa59ad25d1
tree3681bb2ef120be3935165212ba097b70f59adc83
parent150663c3b6ab2628be08a5c48d98f17a2f9e6e7e
mk: Fix native LLVM deps for cross-host builds

We use a script called `mklldeps.py` to run `llvm-config` to generate a list
of LLVM libraries and native dependencies needed by LLVM, but all cross-compiled
LLVM builds were using the *host triple's* `llvm-config` instead of the
*target's* `llvm-config`. This commit alters this to require the right
`llvmdeps.rs` to be generated which will run the correct `llvm-config`.
mk/llvm.mk
mk/target.mk
mk/tests.mk