Skip to content

Commit

Permalink
Only dist llvm-objcopy if llvm tools are enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed Dec 13, 2024
1 parent 915e7eb commit 4c6d793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/src/core/build_steps/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ impl Step for Rustc {
}
}

{
if builder.config.llvm_enabled(compiler.host) && builder.config.llvm_tools_enabled {
let src_dir = builder.sysroot_target_bindir(compiler, host);
let llvm_objcopy = exe("llvm-objcopy", compiler.host);
let rust_objcopy = exe("rust-objcopy", compiler.host);
Expand Down

0 comments on commit 4c6d793

Please sign in to comment.