summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2017-10-06 11:49:31 (GMT)
committerTony Theodore <tonyt@logyst.com>2017-10-09 04:19:53 (GMT)
commitc8c6aa07200a5a0b83ae88057b6dc089414868b0 (patch)
tree6e45e3cd2ce9e7e4841cedf70a10465e55ddb401 /plugins
parent762fb617d1bc435169ffb7c8dd646af15e5db934 (diff)
downloadmxe-c8c6aa07200a5a0b83ae88057b6dc089414868b0.zip
mxe-c8c6aa07200a5a0b83ae88057b6dc089414868b0.tar.gz
mxe-c8c6aa07200a5a0b83ae88057b6dc089414868b0.tar.bz2
gcc: workaround parallel build failure
Diffstat (limited to 'plugins')
-rw-r--r--plugins/examples/host-toolchain/gcc-host.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/examples/host-toolchain/gcc-host.mk b/plugins/examples/host-toolchain/gcc-host.mk
index 86428d0..1c352ea 100644
--- a/plugins/examples/host-toolchain/gcc-host.mk
+++ b/plugins/examples/host-toolchain/gcc-host.mk
@@ -38,6 +38,8 @@ define $(PKG)_BUILD
--with-{gmp,isl,mpc,mpfr}='$(PREFIX)/$(TARGET)' \
$($(PKG)_CONFIGURE_OPTS)
+ # `all-target-libstdc++-v3` sometimes has parallel failure
+ $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' all-target-libstdc++-v3 || $(MAKE) -C '$(BUILD_DIR)' -j 1 all-target-libstdc++-v3
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)'
$(MAKE) -C '$(BUILD_DIR)' -j 1 $(INSTALL_STRIP_TOOLCHAIN)