Patchwork dnsmasq: build with MAKE1

login
register
mail settings
Submitter gilles.talis@gmail.com
Date April 17, 2013, 10:10 p.m.
Message ID <1366236635-6353-1-git-send-email-gilles.talis@gmail.com>
Download mbox | patch
Permalink /patch/237374/
State Accepted
Commit 39afa6d67228158a44291fbea72e687d1a6d020f
Headers show

Comments

gilles.talis@gmail.com - April 17, 2013, 10:10 p.m.
dnsmasq build breaks with parallel builds.
By the time final target needs to be linked, some object files are missing.

Fix it by using MAKE1 instead.

Fixes:
http://autobuild.buildroot.org/results/7a68e2f64105013c1040c01c0e55fb5d910ef8d8

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
---
 package/dnsmasq/dnsmasq.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Peter Korsgaard - April 21, 2013, 9:17 p.m.
>>>>> "Gilles" == Gilles Talis <gilles.talis@gmail.com> writes:

 Gilles> dnsmasq build breaks with parallel builds.  By the time final
 Gilles> target needs to be linked, some object files are missing.

 Gilles> Fix it by using MAKE1 instead.

 Gilles> Fixes:
 Gilles> http://autobuild.buildroot.org/results/7a68e2f64105013c1040c01c0e55fb5d910ef8d8

Committed, thanks.

Patch

diff --git a/package/dnsmasq/dnsmasq.mk b/package/dnsmasq/dnsmasq.mk
index 285f06e..8fb1fb1 100644
--- a/package/dnsmasq/dnsmasq.mk
+++ b/package/dnsmasq/dnsmasq.mk
@@ -84,7 +84,7 @@  define DNSMASQ_BUILD_CMDS
 	$(DNSMASQ_ENABLE_DBUS)
 	$(DNSMASQ_ENABLE_LUA)
 	$(DNSMASQ_ENABLE_CONNTRACK)
-	$(DNSMASQ_MAKE_ENV) $(MAKE) -C $(@D) $(DNSMASQ_MAKE_OPT) all$(DNSMASQ_I18N)
+	$(DNSMASQ_MAKE_ENV) $(MAKE1) -C $(@D) $(DNSMASQ_MAKE_OPT) all$(DNSMASQ_I18N)
 endef
 
 define DNSMASQ_INSTALL_TARGET_CMDS