summaryrefslogtreecommitdiff
path: root/libre/icecat/fix-rustc-armv7h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/icecat/fix-rustc-armv7h.patch')
-rw-r--r--libre/icecat/fix-rustc-armv7h.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/libre/icecat/fix-rustc-armv7h.patch b/libre/icecat/fix-rustc-armv7h.patch
new file mode 100644
index 000000000..a083ca505
--- /dev/null
+++ b/libre/icecat/fix-rustc-armv7h.patch
@@ -0,0 +1,12 @@
+diff --git a/Cargo.toml b/Cargo.toml
+index 74658ce..a3455d1 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -58,6 +58,7 @@ opt-level = 2
+ rpath = false
+ debug-assertions = false
+ panic = "abort"
++codegen-units = 1
+
+ # Optimize build dependencies, because bindgen and proc macros / style
+ # compilation take more to run than to build otherwise.