]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
build: Fix build failure with parallel make.
authorBruno Haible <bruno@clisp.org>
Sat, 11 May 2019 01:26:56 +0000 (03:26 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 11 May 2019 01:26:56 +0000 (03:26 +0200)
Reported by Lars Wendler <polynomial-c@gentoo.org>.

* gettext-tools/src/Makefile.am (.NOTPARALLEL): Add this special target.

gettext-tools/src/Makefile.am

index 09a3c153d7f8f31bdc3b33c8b2b266266f2d1aff..b98b7abd35ca19f14ce362f5843a46f68156661a 100644 (file)
@@ -657,6 +657,7 @@ RELOCATABLE_BUILD_DIR = ../gnulib-lib
 RELOCATABLE_CONFIG_H_DIR = ..
 RELOCATABLE_STRIP = :
 
+
 # Version information according to Woe32 conventions.
 if WOE32
 WOE32_LDADD = gettext.res
@@ -666,3 +667,10 @@ MOSTLYCLEANFILES += gettext.res
 else
 WOE32_LDADD =
 endif
+
+
+# This Makefile contains rules which don't work with parallel make,
+# namely those which build textstyle.h, po-gram-gen.c, cldr-plural.c.
+# See <https://lists.gnu.org/archive/html/bug-make/2019-05/msg00011.html>.
+# So, turn off parallel execution in this Makefile.
+.NOTPARALLEL: