diff mbox

libbacktrace patch committed: Update dependencies

Message ID CAKOQZ8z4sJNYoN2eLiSCNHsCLhwQ4Y3okhFqCLbgeUK_6iJxOQ@mail.gmail.com
State New
Headers show

Commit Message

Ian Lance Taylor Sept. 11, 2015, 6:37 p.m. UTC
Although libbacktrace uses automake, it can't use automatic dependency
tracking, because it breaks when using bootstrap-lean (PR 54732).  The
dependencies for sort.lo and stest.lo were never added to the list.
Also, the dependencies for backtrace.lo were not updated for my recent
change to that file.  This patch fixes the problem.  Committed to
mainline.

Ian

2015-09-11  Ian Lance Taylor  <iant@google.com>

* Makefile.am (backtrace.lo): Depend on internal.h.
(sort.lo, stest.lo): Add explicit dependencies.
* Makefile.in: Rebuild.
diff mbox

Patch

Index: Makefile.am
===================================================================
--- Makefile.am	(revision 227673)
+++ Makefile.am	(working copy)
@@ -116,7 +116,7 @@  endif NATIVE
 
 INCDIR = $(top_srcdir)/../include
 alloc.lo: config.h backtrace.h internal.h
-backtrace.lo: config.h backtrace.h
+backtrace.lo: config.h backtrace.h internal.h
 btest.lo: (INCDIR)/filenames.h backtrace.h backtrace-supported.h
 dwarf.lo: config.h $(INCDIR)/dwarf2.h $(INCDIR)/dwarf2.def \
 	$(INCDIR)/filenames.h backtrace.h internal.h
@@ -130,5 +130,7 @@  posix.lo: config.h backtrace.h internal.
 print.lo: config.h backtrace.h internal.h
 read.lo: config.h backtrace.h internal.h
 simple.lo: config.h backtrace.h internal.h
+sort.lo: config.h backtrace.h internal.h
+stest.lo: config.h backtrace.h internal.h
 state.lo: config.h backtrace.h backtrace-supported.h internal.h
 unknown.lo: config.h backtrace.h internal.h