From 71c8958e6748de19ef2f674cc576e4a873c03236 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Mon, 9 Feb 2009 22:51:40 +0000 Subject: [PATCH] Makefile.am (LTLDFLAGS): New variable. * Makefile.am (LTLDFLAGS): New variable. (LINK): Use it. * Makefile.in: Regenerated. From-SVN: r144045 --- boehm-gc/ChangeLog | 6 ++++++ boehm-gc/Makefile.am | 3 ++- boehm-gc/Makefile.in | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index 0f58348..3ce034a 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,3 +1,9 @@ +2009-02-09 Mark Mitchell + + * Makefile.am (LTLDFLAGS): New variable. + (LINK): Use it. + * Makefile.in: Regenerated. + 2008-12-18 Ralf Wildenhues * configure: Regenerate. diff --git a/boehm-gc/Makefile.am b/boehm-gc/Makefile.am index 567d597..41528ae 100644 --- a/boehm-gc/Makefile.am +++ b/boehm-gc/Makefile.am @@ -66,7 +66,8 @@ TESTS = gctest ## CFLAGS, not those passed in from the top level make. LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(MY_CFLAGS) $(GC_CFLAGS) -LINK = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(MY_CFLAGS) $(LDFLAGS) -o $@ +LTLDFLAGS = $(shell $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) +LINK = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(MY_CFLAGS) $(LTLDFLAGS) -o $@ # Work around what appears to be a GNU make bug handling MAKEFLAGS # values defined in terms of make variables, as is the case for CC and diff --git a/boehm-gc/Makefile.in b/boehm-gc/Makefile.in index 8b4e3a2..d6dcd9b 100644 --- a/boehm-gc/Makefile.in +++ b/boehm-gc/Makefile.in @@ -317,7 +317,8 @@ TESTS = gctest LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(MY_CFLAGS) $(GC_CFLAGS) -LINK = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(MY_CFLAGS) $(LDFLAGS) -o $@ +LTLDFLAGS = $(shell $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) +LINK = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(MY_CFLAGS) $(LTLDFLAGS) -o $@ # Work around what appears to be a GNU make bug handling MAKEFLAGS # values defined in terms of make variables, as is the case for CC and -- 2.7.4