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>
This commit is contained in:
Corinna Vinschen 2016-03-30 14:35:46 +02:00
parent 6436024c4c
commit d6c651040d
1 changed files with 2 additions and 2 deletions

View File

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