fix parallel build for version.cc and winver.o

Creating both version.cc and winver.o at once really should run once only.
This commit is contained in:
Michael Haubenwallner 2017-02-16 16:57:40 +01:00 committed by Corinna Vinschen
parent e046e4de14
commit 829aaa7352
1 changed files with 3 additions and 1 deletions

View File

@ -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