diff options
author | Doug Kwan <dougkwan@google.com> | 2009-06-23 18:10:42 +0000 |
---|---|---|
committer | Doug Kwan <dougkwan@google.com> | 2009-06-23 18:10:42 +0000 |
commit | 3d857b98f555ee56c6fa6ed90c024424215574ed (patch) | |
tree | c68df6e845e52dc25b22b566e7d61de85004920f /gold/Makefile.am | |
parent | 27aa8d6aa032b25160328cd92c78c4f8158fa0b7 (diff) | |
download | gdb-3d857b98f555ee56c6fa6ed90c024424215574ed.zip gdb-3d857b98f555ee56c6fa6ed90c024424215574ed.tar.gz gdb-3d857b98f555ee56c6fa6ed90c024424215574ed.tar.bz2 |
2009-06-23 Doug Kwan <dougkwan@google.com>
* Makefile.am (libgold_a_LIBADD): New.
(ld_new_DEPENDENCIES, ld_new_LDADD): Remove LIBOBJS
* Makefile.in: Regenerate.
* config.in (HAVE_DECL_MEMMEM, HAVE_DECL_STRNDUP): New.
* configure: Regenerate.
* configure.ac (AC_CHECK_DECLS): Add strndup and memmem.
* fileread.cc: Include sys/state.h
* gold.h: Declare memmem and strndup if found missing.
* gold_reloc.h: Include byteswap.h if HAVE_BYTESWAP_H is defined.
Diffstat (limited to 'gold/Makefile.am')
-rw-r--r-- | gold/Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gold/Makefile.am b/gold/Makefile.am index 0fdf615..14173c1 100644 --- a/gold/Makefile.am +++ b/gold/Makefile.am @@ -131,6 +131,7 @@ ALL_TARGETOBJS = \ arm.$(OBJEXT) libgold_a_SOURCES = $(CCFILES) $(HFILES) $(YFILES) +libgold_a_LIBADD = $(LIBOBJS) sources_var = main.cc deps_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL_DEP) @@ -138,8 +139,8 @@ ldadd_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL) \ $(THREADSLIB) $(LIBDL) ld_new_SOURCES = $(sources_var) -ld_new_DEPENDENCIES = $(deps_var) $(LIBOBJS) -ld_new_LDADD = $(ldadd_var) $(LIBOBJS) +ld_new_DEPENDENCIES = $(deps_var) +ld_new_LDADD = $(ldadd_var) EXTRA_ld_new_SOURCES = $(TARGETSOURCES) |