summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-09-12 11:39:26 -0400
committermidipix <writeonce@midipix.org>2015-09-12 11:39:26 -0400
commite84fa8edbd603b91ed1e0cd331c8f0d6f78f0391 (patch)
tree36c62734c455a216cf0f87e11bc3e39d775ea73f
parent8af5a7aa615f2c89e0e533ab62b1932bbd726176 (diff)
downloadcbb-gcc-4.6.4-e84fa8edbd603b91ed1e0cd331c8f0d6f78f0391.tar.bz2
cbb-gcc-4.6.4-e84fa8edbd603b91ed1e0cd331c8f0d6f78f0391.tar.xz
fix generation of import libraries for libstdc++.
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
-rw-r--r--libstdc++-v3/src/Makefile.am3
-rw-r--r--libstdc++-v3/src/Makefile.in3
2 files changed, 4 insertions, 2 deletions
diff --git a/libstdc++-v3/src/Makefile.am b/libstdc++-v3/src/Makefile.am
index c0f3c94cb..a9aa9ef28 100644
--- a/libstdc++-v3/src/Makefile.am
+++ b/libstdc++-v3/src/Makefile.am
@@ -433,7 +433,8 @@ LTCXXCOMPILE = $(LIBTOOL) --tag CXX \
$(CXX) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
$(AM_CXXFLAGS) $(CXXFLAGS)
-LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) $(cbb_ldflags_for_target)
+LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) $(cbb_ldflags_for_target) \
+ -mout-implib -moutput-def
# 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
diff --git a/libstdc++-v3/src/Makefile.in b/libstdc++-v3/src/Makefile.in
index d85734bc6..371d7137d 100644
--- a/libstdc++-v3/src/Makefile.in
+++ b/libstdc++-v3/src/Makefile.in
@@ -512,7 +512,8 @@ LTCXXCOMPILE = $(LIBTOOL) --tag CXX \
$(CXX) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) -D_GNU_SOURCE=1 \
$(AM_CXXFLAGS) $(CXXFLAGS) $(script_xgcc_path_flags)
-LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) $(cbb_ldflags_for_target)
+LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) $(cbb_ldflags_for_target) \
+ -mout-implib -moutput-def
# 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