summaryrefslogtreecommitdiff
path: root/user/rust/0001-Don-t-pass-CFLAGS-to-the-C-compiler.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/rust/0001-Don-t-pass-CFLAGS-to-the-C-compiler.patch')
-rw-r--r--user/rust/0001-Don-t-pass-CFLAGS-to-the-C-compiler.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/user/rust/0001-Don-t-pass-CFLAGS-to-the-C-compiler.patch b/user/rust/0001-Don-t-pass-CFLAGS-to-the-C-compiler.patch
deleted file mode 100644
index 83be00997..000000000
--- a/user/rust/0001-Don-t-pass-CFLAGS-to-the-C-compiler.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From ffe35880050c7e38bb50cb9ecb7b325bb9eff6d9 Mon Sep 17 00:00:00 2001
-From: Samuel Holland <samuel@sholland.org>
-Date: Wed, 10 Jan 2018 13:36:41 -0600
-Subject: [PATCH 01/18] Don't pass CFLAGS to the C++ compiler
-
----
- src/bootstrap/builder.rs | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs
-index e54c9360bae..7bdd73aa381 100644
---- a/src/bootstrap/builder.rs
-+++ b/src/bootstrap/builder.rs
-@@ -1126,8 +1126,7 @@ impl<'a> Builder<'a> {
- if let Ok(cxx) = self.cxx(target) {
- let cxx = ccacheify(&cxx);
- cargo
-- .env(format!("CXX_{}", target), &cxx)
-- .env(format!("CXXFLAGS_{}", target), cflags);
-+ .env(format!("CXX_{}", target), &cxx);
- }
- }
-
---
-2.21.0
-