summaryrefslogtreecommitdiff
path: root/libre/icecat/fix-rustc-armv7h.patch
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-08-17 22:27:17 -0500
committerIván Ávalos <avalos@disroot.org>2022-08-17 22:27:17 -0500
commite2d9c8ff20043faea6dc5e7354dff0d8a2a5c084 (patch)
treed7bae8f363de65f6375d8d19ba1b82a73d8f64b1 /libre/icecat/fix-rustc-armv7h.patch
parent3c5694e2fc30a846f438b05579ba827725e04c11 (diff)
downloadabslibre-e2d9c8ff20043faea6dc5e7354dff0d8a2a5c084.tar.gz
abslibre-e2d9c8ff20043faea6dc5e7354dff0d8a2a5c084.tar.bz2
abslibre-e2d9c8ff20043faea6dc5e7354dff0d8a2a5c084.zip
First attempt to fix armv7h buildwip-icecat-armv7h
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.