summaryrefslogtreecommitdiff
path: root/build-support/rust140/config.toml.patch
diff options
context:
space:
mode:
Diffstat (limited to 'build-support/rust140/config.toml.patch')
-rw-r--r--build-support/rust140/config.toml.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/build-support/rust140/config.toml.patch b/build-support/rust140/config.toml.patch
new file mode 100644
index 0000000..8d0762c
--- /dev/null
+++ b/build-support/rust140/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"