dnsmasq: build with MAKE1
authorgilles.talis@gmail.com <gilles.talis@gmail.com>
Wed, 17 Apr 2013 12:10:35 +0000 (12:10 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 21 Apr 2013 21:17:18 +0000 (23:17 +0200)
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>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/dnsmasq/dnsmasq.mk

index 285f06e9649b808ea17e9fc9e948fd0c5d7dc9a5..8fb1fb19497ef3715c167ff737d278ea891498c3 100644 (file)
@@ -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