From: Debian Rust Maintainers Date: Sun, 20 Dec 2020 18:52:10 +0000 (+0000) Subject: u-dont-install-libllvm X-Git-Tag: archive/raspbian/1.49.0+dfsg1-1+rpi1^2^2~21 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9bf048cccf44f8e5a0abf71e941d444d92757d4a;p=rustc.git u-dont-install-libllvm Bug: https://github.com/rust-lang/rust/issues/78932 Gbp-Pq: Name u-dont-install-libllvm.patch --- diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs index b2a590307a..d570180e95 100644 --- a/src/bootstrap/dist.rs +++ b/src/bootstrap/dist.rs @@ -2370,7 +2370,8 @@ impl Step for HashSign { /// Note: This function does not yet support Windows, but we also don't support /// linking LLVM tools dynamically on Windows yet. fn maybe_install_llvm(builder: &Builder<'_>, target: TargetSelection, dst_libdir: &Path) { - if !builder.config.llvm_link_shared { + // Debian does not need to install this + if true { // We do not need to copy LLVM files into the sysroot if it is not // dynamically linked; it is already included into librustc_llvm // statically.