From d6c651040def845321010a63f3962d63f0a0c01b Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 30 Mar 2016 14:35:46 +0200 Subject: [PATCH] Add dependencies to tlsoffsets file After `make clean', the build can fail because the dependencies don't require the tlsoffsets file to exist before building obejct files. This patch fixes it. Signed-off-by: Corinna Vinschen --- winsup/cygwin/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in index bd24a96a1..43919bdbd 100644 --- a/winsup/cygwin/Makefile.in +++ b/winsup/cygwin/Makefile.in @@ -705,7 +705,7 @@ $(LIBGMON_A): $(GMON_OFILES) $(GMON_START) globals.h: mkglobals_h globals.cc $^ > $@ -${DLL_OFILES} ${LIBCOS}: globals.h +${DLL_OFILES} ${LIBCOS}: globals.h $(srcdir)/$(TLSOFFSETS_H) shared_info_magic.h: cygmagic shared_info.h /bin/sh $(word 1,$^) $@ "${COMPILE.cc} -E -x c++" $(word 2,$^) SHARED_MAGIC 'class shared_info' USER_MAGIC 'class user_info' @@ -765,7 +765,7 @@ sigfe.s: $(DEF_FILE) { rm -f $(DEF_FILE); $(MAKE) -s -j1 $(DEF_FILE); }; \ [ -s $@ ] && touch $@ -sigfe.o: sigfe.s +sigfe.o: sigfe.s $(srcdir)/$(TLSOFFSETS_H) $(CC) ${CFLAGS} -c -o $@ $< ctags: CTAGS