summaryrefslogtreecommitdiffstats
path: root/debian/patches/u-rustc-llvm-cross-flags.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:15 +0000
commit590c689495549b05a392ad11322a93f487d2067e (patch)
treed3dff5af08c6670318ff82002ec2b3433a480e2f /debian/patches/u-rustc-llvm-cross-flags.patch
parentMerging upstream version 1.68.2+dfsg1. (diff)
downloadrustc-590c689495549b05a392ad11322a93f487d2067e.tar.xz
rustc-590c689495549b05a392ad11322a93f487d2067e.zip
Merging debian version 1.68.2+dfsg1-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/u-rustc-llvm-cross-flags.patch')
-rw-r--r--debian/patches/u-rustc-llvm-cross-flags.patch4
1 files changed, 1 insertions, 3 deletions
diff --git a/debian/patches/u-rustc-llvm-cross-flags.patch b/debian/patches/u-rustc-llvm-cross-flags.patch
index 6ee382aba..226485b08 100644
--- a/debian/patches/u-rustc-llvm-cross-flags.patch
+++ b/debian/patches/u-rustc-llvm-cross-flags.patch
@@ -7,8 +7,6 @@ Subject: u-rustc-llvm-cross-flags
compiler/rustc_llvm/build.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-diff --git a/compiler/rustc_llvm/build.rs b/compiler/rustc_llvm/build.rs
-index b8f67ee..e9b1d0a 100644
--- a/compiler/rustc_llvm/build.rs
+++ b/compiler/rustc_llvm/build.rs
@@ -304,7 +304,7 @@
@@ -19,4 +17,4 @@ index b8f67ee..e9b1d0a 100644
+ if stripped.contains(&host) { println!("cargo:rustc-link-search=native={}", stripped.replace(&host, &target)); }
}
} else if let Some(stripped) = lib.strip_prefix("-LIBPATH:") {
- println!("cargo:rustc-link-search=native={}", stripped);
+ println!("cargo:rustc-link-search=native={stripped}");