Mercurial > mxe-octave
changeset 5878:0e80767f2199 release
build-gettext.mk: avoid parallel builds.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 07 Sep 2021 14:47:48 -0400 |
parents | 36081ffe66a0 |
children | 0d1af1b88257 5d627682a6b2 |
files | src/build-gettext.mk |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/build-gettext.mk Tue Sep 07 14:46:50 2021 -0400 +++ b/src/build-gettext.mk Tue Sep 07 14:47:48 2021 -0400 @@ -17,6 +17,8 @@ tail -1 endef +## Use -j 1 instead of -j $(JOBS) to avoid failures with parallel builds. + define $(PKG)_BUILD mkdir '$(1).build' cd '$(1).build' && '$(1)/configure' \ @@ -24,7 +26,7 @@ --without-libexpat-prefix \ --without-libxml2-prefix \ $($(PKG)_CONFIGURE_OPTIONS) - $(MAKE) -C '$(1).build' -j '$(JOBS)' + $(MAKE) -C '$(1).build' -j 1 if test x$(MXE_SYSTEM) = xmsvc; then \ cd '$(1).build' && $(CONFIGURE_POST_HOOK); \ fi