Rebuild rustc_llvm when the rustllvm source files change

This commit is contained in:
Robin Kruppe 2016-11-16 23:34:15 +01:00
parent 766f6e4782
commit 5887ee5018

View file

@ -116,6 +116,9 @@ fn main() {
cfg.flag("-DLLVM_RUSTLLVM");
}
println!("cargo:rerun-if-changed=../rustllvm/PassWrapper.cpp");
println!("cargo:rerun-if-changed=../rustllvm/RustWrapper.cpp");
println!("cargo:rerun-if-changed=../rustllvm/ArchiveWrapper.cpp");
cfg.file("../rustllvm/PassWrapper.cpp")
.file("../rustllvm/RustWrapper.cpp")
.file("../rustllvm/ArchiveWrapper.cpp")