summaryrefslogtreecommitdiff
path: root/libstdc++-v3/src/Makefile.in
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-03 00:30:27 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-03 00:30:27 +0000
commit3b6bba182d2ebb8a1c905ef7149f37e02fd11d11 (patch)
tree26f43cf3a310c3facb63a583f150f4158ffeb17b /libstdc++-v3/src/Makefile.in
parentf54ab45810726a04481dfb429742bbb0bbedb767 (diff)
downloadgcc-3b6bba182d2ebb8a1c905ef7149f37e02fd11d11.tar.gz
* libtool-ldflags: New script.
* src/Makefile.am (LTLDFLAGS): New variable. (CXXLINK): Use LTLDFLAGS. * src/Makefile.in: Regenerated. * libsupc++/Makefile.am (LTLDFLAGS): New variable. (CXXLINK): Use LTLDFLAGS. * libsupc++/Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109256 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/src/Makefile.in')
-rw-r--r--libstdc++-v3/src/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/libstdc++-v3/src/Makefile.in b/libstdc++-v3/src/Makefile.in
index f78e7353f86..1a99a63e3e6 100644
--- a/libstdc++-v3/src/Makefile.in
+++ b/libstdc++-v3/src/Makefile.in
@@ -405,6 +405,7 @@ AM_CXXFLAGS = \
LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) \
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
# 3) We'd have a problem when building the shared libstdc++ object if
# the rules automake generates would be used. We cannot allow g++ to
@@ -413,7 +414,7 @@ LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) \
# directory to configure libstdc++-v3 to use gcc as the C++
# compilation driver.
CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) \
- $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LDFLAGS) -o $@
+ $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@
debugdir = debug
all: all-am