From patchwork Mon Sep 19 22:43:11 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: --enable-dynamic-string default for mingw-w64 Date: Mon, 19 Sep 2011 12:43:11 -0000 From: JonY X-Patchwork-Id: 115398 Message-Id: <4E77C57F.40808@users.sourceforge.net> To: Gcc Patch List 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.