Some -L and -l flags may be needed even when building librustc_llvm, for example when using static libc++ on Linux we may need to manually specify the library search path and -ldl -lpthread as additional link dependencies. We pass LLVM linker flags from config to librustc_llvm build to make sure these cases are handled. |
||
|---|---|---|
| .. | ||
| build.rs | ||
| Cargo.toml | ||
| lib.rs | ||