# HG changeset patch # User John W. Eaton # Date 1631040468 14400 # Node ID 0e80767f21999b665ed40c38c82775f11a826679 # Parent 36081ffe66a06235328c7a87bc0c411d8b4442c1 build-gettext.mk: avoid parallel builds. diff -r 36081ffe66a0 -r 0e80767f2199 src/build-gettext.mk --- 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