From: Luca Ceresoli Date: Sun, 3 May 2020 15:54:28 +0000 (+0100) Subject: Build: fix parallelism problem. Bug 2566 X-Git-Tag: exim-4.94-RC1~27 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/302e7912253bd1f1a88f04d9a8a71d8a3c9b93fc Build: fix parallelism problem. Bug 2566 --- diff --git a/src/OS/Makefile-Base b/src/OS/Makefile-Base index b66678bee..9eed7b0b9 100644 --- a/src/OS/Makefile-Base +++ b/src/OS/Makefile-Base @@ -662,11 +662,14 @@ PHDRS = ../config.h \ .c.o:; @echo "$(CC) $*.c" $(FE)$(CC) -c $(CFLAGS) -I. $(INCLUDE) $(IPV6_INCLUDE) $(TLS_INCLUDE) $*.c -# Update Exim's version information and build the version object. +# Update Exim's version information and build the version object. The dependency +# chain here avoids problems under parallel-make. -version.h version.sh:: +version.sh: @../scripts/reversion +version.h: version.sh + cnumber.h: version.h version.o: $(HDRS) cnumber.h version.h version.c