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] Add dependencies to tlsoffsets file


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

commit d6c651040def845321010a63f3962d63f0a0c01b
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Wed Mar 30 14:35:46 2016 +0200

    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 <corinna@vinschen.de>

Diff:
---
 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 bd24a96..43919bd 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


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