summaryrefslogtreecommitdiff
path: root/build-support/rust141/config.toml.patch
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-04-19 13:04:03 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2020-04-19 13:04:03 +0200
commit62eea7b6e75a4aad248f47437bb2941eb3225e72 (patch)
tree01183d2249f4897cfdd553453a0edd6be4659b6a /build-support/rust141/config.toml.patch
parente9a4e96593e374b7d7ee7436489220aead84583d (diff)
downloadpackages-62eea7b6e75a4aad248f47437bb2941eb3225e72.tar.xz
build-support/rust141: better patching of typenum U/P1024
Diffstat (limited to 'build-support/rust141/config.toml.patch')
-rw-r--r--build-support/rust141/config.toml.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/build-support/rust141/config.toml.patch b/build-support/rust141/config.toml.patch
new file mode 100644
index 00000000..8d0762cd
--- /dev/null
+++ b/build-support/rust141/config.toml.patch
@@ -0,0 +1,26 @@
+diff -rauN a/config.toml b/config.toml
+--- a/config.toml 2019-10-20 16:44:31.647900892 +0200
++++ b/config.toml 2019-10-20 16:44:39.637875348 +0200
+@@ -2,7 +2,7 @@
+ link-shared = true
+
+ [build]
+-target = ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu"]
++target = ["i686-unknown-linux-gnu"]
+ cargo = "/usr/bin/cargo"
+ rustc = "/usr/bin/rustc"
+ python = "/usr/bin/python"
+@@ -21,11 +21,11 @@
+ # https://github.com/rust-lang/rust/issues/54872
+ codegen-units-std = 1
+
+-debuginfo-level = 2
++debuginfo-level = 0
+
+ channel = "stable"
+
+ rpath = false
+
+-[target.x86_64-unknown-linux-gnu]
++[target.i686-unknown-linux-gnu]
+ llvm-config = "/usr/bin/llvm-config"