summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2017-12-28 13:43:18 (GMT)
committerPeter Korsgaard <peter@korsgaard.com>2017-12-28 22:16:54 (GMT)
commitb9bf87ab2024902fbe63c60073097e479f37bef2 (patch)
treeebecd25240f779e43bed77ab35df701457a81698
parentd78efce3ab5358bb99d364424ffd64d49117034e (diff)
downloadbuildroot-b9bf87ab2024902fbe63c60073097e479f37bef2.tar.gz
buildroot-b9bf87ab2024902fbe63c60073097e479f37bef2.tar.bz2
package/nut: don't build in parallel
The conditions are not trivial to reproduce, but it can happen that the headers are not fully regenerated by the time they are included. This only happens when a python and/or perl interpreter are available, with a high number of jobs and a high load. Fixes: http://autobuild.buildroot.org/results/523/5231ff39a0839ec5e1962662004214d4b0773068/ http://autobuild.buildroot.org/results/5a7/5a75d44c028e77b58f0fd9ab794952f2b477dd84/ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> (cherry picked from commit 1d8de10c5fb36619708898a529977058886f31d1) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/nut/nut.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/nut/nut.mk b/package/nut/nut.mk
index 332ccf9..4ea9947 100644
--- a/package/nut/nut.mk
+++ b/package/nut/nut.mk
@@ -14,6 +14,9 @@ NUT_DEPENDENCIES = host-pkgconf
# Our patch changes m4 macros, so we need to autoreconf
NUT_AUTORECONF = YES
+# Race condition in tools generation
+NUT_MAKE = $(MAKE1)
+
# Put the PID files in a read-write place (/var/run is a tmpfs)
# since the default location (/var/state/ups) maybe readonly.
NUT_CONF_OPTS = \