Mercurial > mxe-octave
changeset 5875:337390a0c7e2 release
gettext.mk: avoid parallel builds.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 07 Sep 2021 14:30:51 -0400 |
parents | 6821341b80cb |
children | 61d6b59e6490 36081ffe66a0 |
files | src/gettext.mk |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gettext.mk Sun Nov 29 13:59:42 2020 -0500 +++ b/src/gettext.mk Tue Sep 07 14:30:51 2021 -0400 @@ -18,6 +18,8 @@ head -1 endef +## Use -j 1 instead of -j $(JOBS) to avoid failures with parallel builds. + define $(PKG)_BUILD cd '$(1)/gettext-runtime' && ./configure \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ @@ -27,7 +29,7 @@ --without-libexpat-prefix \ --without-libxml2-prefix \ CONFIG_SHELL=$(SHELL) && $(CONFIGURE_POST_HOOK) - $(MAKE) -C '$(1)/gettext-runtime/intl' -j '$(JOBS)' + $(MAKE) -C '$(1)/gettext-runtime/intl' -j 1 $(MAKE) -C '$(1)/gettext-runtime/intl' -j 1 $(MXE_DISABLE_DOCS) install DESTDIR='$(3)' cd '$(1)/gettext-tools' && ./configure \ @@ -39,7 +41,7 @@ --without-libxml2-prefix \ $(if $(filter msvc,$(MXE_SYSTEM)),ac_cv_func_memset=yes) \ CONFIG_SHELL=$(SHELL) && $(CONFIGURE_POST_HOOK) - $(MAKE) -C '$(1)/gettext-tools/intl' -j '$(JOBS)' + $(MAKE) -C '$(1)/gettext-tools/intl' -j 1 $(MAKE) -C '$(1)/gettext-tools/intl' -j 1 install DESTDIR='$(3)' $(MXE_DISABLE_DOCS) bin_PROGRAMS= if [ "$(ENABLE_DEP_DOCS)" == "no" ]; then \ rm -rf $(3)$(HOST_PREFIX)/share/doc/$(PKG); \