summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2019-08-08 11:43:11 +0200
committerJan Horak <jhorak@redhat.com>2019-08-08 11:43:11 +0200
commit5b4070831b473471806ea40d1b7bd203d151d78a (patch)
tree80b9a2b1089a46ba8bb326cb3ab032293505404a
parentUse make -j1 for debugging purposes (diff)
downloadlibrewolf-fedora-ff-5b4070831b473471806ea40d1b7bd203d151d78a.tar.gz
librewolf-fedora-ff-5b4070831b473471806ea40d1b7bd203d151d78a.tar.bz2
librewolf-fedora-ff-5b4070831b473471806ea40d1b7bd203d151d78a.zip
Added rust build workaround to disable multiple jobs because of deadlock
-rw-r--r--build-disable-multijobs-rust.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/build-disable-multijobs-rust.patch b/build-disable-multijobs-rust.patch
new file mode 100644
index 0000000..82da56b
--- /dev/null
+++ b/build-disable-multijobs-rust.patch
@@ -0,0 +1,14 @@
+diff --git a/config/makefiles/rust.mk b/config/makefiles/rust.mk
+--- a/config/makefiles/rust.mk
++++ b/config/makefiles/rust.mk
+@@ -10,6 +10,10 @@
+ # commands can be executed directly by make, without doing a round-trip
+ # through a shell.
+
++MOZ_MAKE_FLAGS := $(filter-out -j%,$(MAKEFLAGS))
++MAKEFLAGS += -j1
++
++
+ cargo_host_flag := --target=$(RUST_HOST_TARGET)
+ cargo_target_flag := --target=$(RUST_TARGET)
+
bgstack15