[patch] --enable-dynamic-string default for mingw-w64

JonY jon_y@users.sourceforge.net
Tue Sep 20 00:52:00 GMT 2011


Hi,

Its been used in the automated toolchain builds for sometime, seems like
a good idea to enable it by default. It can be easily changed to match
for all mingw as well if needed.

OK for trunk?

Index: libstdc++-v3/configure.ac
===================================================================
--- libstdc++-v3/configure.ac   (revision 178946)
+++ libstdc++-v3/configure.ac   (working copy)
@@ -132,7 +132,15 @@
 GLIBCXX_ENABLE_DEBUG([no])
 GLIBCXX_ENABLE_PARALLEL([yes])
 GLIBCXX_ENABLE_CXX_FLAGS
-GLIBCXX_ENABLE_FULLY_DYNAMIC_STRING([no])
+case "$host" in
+  # Enable fully ynamic strings on mingw-w64 by default
+  i?86-w64-mingw* | x86_64-w64-mingw*)
+    GLIBCXX_ENABLE_FULLY_DYNAMIC_STRING([yes])
+    ;;
+  *)
+    GLIBCXX_ENABLE_FULLY_DYNAMIC_STRING([no])
+    ;;
+esac
 GLIBCXX_ENABLE_EXTERN_TEMPLATE([yes])

 # Checks for operating systems support that doesn't require linking.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: OpenPGP digital signature
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110920/471473ad/attachment.sig>


More information about the Gcc-patches mailing list