This is the mail archive of the cygwin-cvs@cygwin.com 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]

[newlib-cygwin] fix parallel build for version.cc and winver.o


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=829aaa735283ba1d22275da8e9f1ce5d2321e5dc

commit 829aaa735283ba1d22275da8e9f1ce5d2321e5dc
Author: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
Date:   Thu Feb 16 16:57:40 2017 +0100

    fix parallel build for version.cc and winver.o
    
    Creating both version.cc and winver.o at once really should run once only.

Diff:
---
 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


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