From 302e7912253bd1f1a88f04d9a8a71d8a3c9b93fc Mon Sep 17 00:00:00 2001 From: Luca Ceresoli Date: Sun, 3 May 2020 16:54:28 +0100 Subject: [PATCH] Build: fix parallelism problem. Bug 2566 --- src/OS/Makefile-Base | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 2.25.1