This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] fix parallel build for version.cc and winver.o


Creating both version.cc and winver.o at once really should run once only.
---
 winsup/cygwin/Makefile.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
index bffb24a..c8652b0 100644
--- a/winsup/cygwin/Makefile.in
+++ b/winsup/cygwin/Makefile.in
@@ -747,10 +747,12 @@ libacl.a: ${LIB_NAME} sec_posixacl.o
 ${EXTRALIBS}: lib%.a: %.o
 	$(AR) cru $@ $?
 
-version.cc winver.o: mkvers.sh include/cygwin/version.h winver.rc $(DLL_OFILES)
+winver.o: mkvers.sh include/cygwin/version.h winver.rc $(DLL_OFILES)
 	@echo "Making version.cc and winver.o";\
 	/bin/sh ${word 1,$^} ${word 2,$^} ${word 3,$^} $(WINDRES) ${CFLAGS} $(addprefix -I,${CCWRAP_SYSTEM_HEADERS} ${CCWRAP_DIRAFTER_HEADERS})
 
+version.cc: winver.o
+
 Makefile: ${srcdir}/Makefile.in
 	/bin/sh ./config.status
 
-- 
2.10.2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]