summaryrefslogtreecommitdiffstats
path: root/gold/Makefile.am
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2011-09-23 15:02:32 +0000
committerIan Lance Taylor <ian@airs.com>2011-09-23 15:02:32 +0000
commitdc87f6201460bb5564a94d3c84beb4ab87a9962d (patch)
tree378d39c458b877fe9b42d8db349583a7bc0ad35a /gold/Makefile.am
parente04e5beb2e28eb2b84a2667f73908eb1ddc1111c (diff)
downloadppe42-binutils-dc87f6201460bb5564a94d3c84beb4ab87a9962d.tar.gz
ppe42-binutils-dc87f6201460bb5564a94d3c84beb4ab87a9962d.zip
* configure.ac: Add new --with-gold-ldadd and --with-gold-ldflags
configuration options. * configure: Regenerate. * Makefile.am: Handle GOLD_LDADD and GOLD_LDFLAGS. * Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate.
Diffstat (limited to 'gold/Makefile.am')
-rw-r--r--gold/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/gold/Makefile.am b/gold/Makefile.am
index df5e66c6b5..c1c3588ef0 100644
--- a/gold/Makefile.am
+++ b/gold/Makefile.am
@@ -151,12 +151,14 @@ libgold_a_LIBADD = $(LIBOBJS)
sources_var = main.cc
deps_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL_DEP)
-ldadd_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL) \
+ldadd_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(GOLD_LDADD) $(LIBINTL) \
$(THREADSLIB) $(LIBDL)
+ldflags_var = $(GOLD_LDFLAGS)
ld_new_SOURCES = $(sources_var)
ld_new_DEPENDENCIES = $(deps_var)
ld_new_LDADD = $(ldadd_var)
+ld_new_LDFLAGS = $(ldflags_var)
EXTRA_ld_new_SOURCES = $(TARGETSOURCES)
OpenPOWER on IntegriCloud