From e84fa8edbd603b91ed1e0cd331c8f0d6f78f0391 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 12 Sep 2015 11:39:26 -0400 Subject: fix generation of import libraries for libstdc++. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information. --- libstdc++-v3/src/Makefile.am | 3 ++- libstdc++-v3/src/Makefile.in | 3 ++- 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 -- cgit v1.2.3