aboutsummaryrefslogtreecommitdiffstats
path: root/community/rust/0014-Link-stage-2-tools-dynamically-to-libstd.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-01-29 00:25:35 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-01-29 00:31:53 +0100
commitd420552f02af2ad6a15cf3a70b76bf86b222c07e (patch)
tree8ab7137ed9264312aee69292d009509e70357ea7 /community/rust/0014-Link-stage-2-tools-dynamically-to-libstd.patch
parent78a6ed13e4b5cd182f28be18694d543ae179446b (diff)
downloadaports-d420552f02af2ad6a15cf3a70b76bf86b222c07e.tar.bz2
aports-d420552f02af2ad6a15cf3a70b76bf86b222c07e.tar.xz
Remove more stale patches from community/
Diffstat (limited to 'community/rust/0014-Link-stage-2-tools-dynamically-to-libstd.patch')
-rw-r--r--community/rust/0014-Link-stage-2-tools-dynamically-to-libstd.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/community/rust/0014-Link-stage-2-tools-dynamically-to-libstd.patch b/community/rust/0014-Link-stage-2-tools-dynamically-to-libstd.patch
deleted file mode 100644
index 632717f56b..0000000000
--- a/community/rust/0014-Link-stage-2-tools-dynamically-to-libstd.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-Replaces an older patch by Samuel Holland. The RUSTC_NO_PREFER_DYNAMIC
-env var was removed and replaced with the following logic in builder.rs.
-
-The idea for this patch is to link stage2 tools dynamically as these will
-be distributed (if built). Intermediate tools from previous stages will
-be statically linked for convenience.
-
-@q66
-
---- a/src/bootstrap/builder.rs
-+++ b/src/bootstrap/builder.rs
-@@ -1228,6 +1228,8 @@ impl<'a> Builder<'a> {
- // linking all deps statically into the dylib.
- if let Mode::Std | Mode::Rustc | Mode::Codegen = mode {
- rustflags.arg("-Cprefer-dynamic");
-+ } else if stage >= 2 {
-+ rustflags.arg("-Cprefer-dynamic");
- }
-
- Cargo {