mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
rustc_llvm: don't use -g when LLVM_NDEBUG is set.
This commit is contained in:
parent
d6f4a2fbf9
commit
b5e78a2fa7
@ -151,6 +151,7 @@ fn main() {
|
||||
|
||||
if env::var_os("LLVM_NDEBUG").is_some() {
|
||||
cfg.define("NDEBUG", None);
|
||||
cfg.debug(false);
|
||||
}
|
||||
|
||||
build_helper::rerun_if_changed_anything_in_dir(Path::new("../rustllvm"));
|
||||
|
Loading…
Reference in New Issue
Block a user