We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afa859f commit 6d8ed52Copy full SHA for 6d8ed52
src/bootstrap/src/core/build_steps/llvm.rs
@@ -370,8 +370,8 @@ impl Step for Llvm {
370
cfg.define("LLVM_PROFDATA_FILE", path);
371
}
372
373
- // Libraries for ELF section compression.
374
- if !target.is_windows() {
+ // Libraries for ELF section compression and profraw files merging.
+ if !target.is_windows() || builder.config.llvm_profile_generate {
375
cfg.define("LLVM_ENABLE_ZLIB", "ON");
376
} else {
377
cfg.define("LLVM_ENABLE_ZLIB", "OFF");
0 commit comments