Skip to content

Commit

Permalink
Introduced CMAKE_LIBTOOL
Browse files Browse the repository at this point in the history
The better approach is backported to upstream as
rust-lang/rust#93629
  • Loading branch information
catap committed Feb 8, 2022
1 parent bbba106 commit c1f5988
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bootstrap/native.rs
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,10 @@ impl Step for Llvm {
cfg.define("LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN", "YES");
}

if let Some(ref libtool) = env::var_os("CMAKE_LIBTOOL") {
cfg.define("CMAKE_LIBTOOL", libtool);
}

configure_cmake(builder, target, &mut cfg, true);

// FIXME: we don't actually need to build all LLVM tools and all LLVM
Expand Down

0 comments on commit c1f5988

Please sign in to comment.