Gitweb:
https://git.exim.org/exim.git/commitdiff/302e7912253bd1f1a88f04d9a8a71d8a3c9b93fc
Commit: 302e7912253bd1f1a88f04d9a8a71d8a3c9b93fc
Parent: 9ffec364844aaf19ed4bb275760fdb30de5e91ca
Author: Luca Ceresoli <luca@???>
AuthorDate: Sun May 3 16:54:28 2020 +0100
Committer: Jeremy Harris <jgh146exb@???>
CommitDate: Sun May 3 16:54:28 2020 +0100
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 b66678b..9eed7b0 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