]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
poco: avoid build failures on multicore hosts
authorCarlos Santos <casantos@datacom.ind.br>
Fri, 20 Jan 2017 18:18:54 +0000 (16:18 -0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 20 Jan 2017 20:21:22 +0000 (21:21 +0100)
Parallel build still fails on heavilly multicore machines (e.g. -j25)
and hacks likecommit 32f4957b153bdabe7af60d529942aca7d1a4783d do not
seem to be effective.

Let's simply use MAKE1 for the build step, instead.

Fixes:
http://autobuild.buildroot.net/results/388/38834ad3013fe79e5e4f75997133f1bd827be6dc

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/poco/poco.mk

index 4b82c500a59e741fcc170041bb15a0e8358745f6..90dfb343404375d5e4b68324134d769ecdb261b5 100644 (file)
@@ -57,8 +57,9 @@ define POCO_CONFIGURE_CMDS
                --no-samples)
 endef
 
+# Use $(MAKE1) to avoid failures on heavilly parallel machines (e.g. -j25)
 define POCO_BUILD_CMDS
-       $(TARGET_MAKE_ENV) $(MAKE) POCO_TARGET_OSARCH=$(ARCH) CROSS_COMPILE=$(TARGET_CROSS) \
+       $(TARGET_MAKE_ENV) $(MAKE1) POCO_TARGET_OSARCH=$(ARCH) CROSS_COMPILE=$(TARGET_CROSS) \
                MYSQL_LIBDIR=$(STAGING_DIR)/usr/lib/mysql \
                MYSQL_INCDIR=$(STAGING_DIR)/usr/include/mysql \
                DEFAULT_TARGET=$(POCO_MAKE_TARGET) -C $(@D)