[newlib-cygwin] fix parallel build for version.cc and winver.o
Corinna Vinschen
corinna@sourceware.org
Thu Feb 16 20:15:00 GMT 2017
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
More information about the Cygwin-cvs
mailing list