Default to --enable-libstdcxx-filesystem-ts for *-*-mingw*

Message ID 20191130010420.GA826657@redhat.com
State New
Headers show
Series
  • Default to --enable-libstdcxx-filesystem-ts for *-*-mingw*
Related show

Commit Message

Jonathan Wakely Nov. 30, 2019, 1:04 a.m.
* acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Enable by default for
	mingw targets.
	* configure: Regenerate.

Tested powerpc64le-linux and mingw-w64, committed to trunk.
commit 60168e315f0e1533d30847006b207e138dc54b3d
Author: redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Sat Nov 30 01:03:40 2019 +0000

    libstdc++: Default to --enable-libstdcxx-filesystem-ts for *-*-mingw*
    
            * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Enable by default for
            mingw targets.
            * configure: Regenerate.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@278870 138bc75d-0d04-0410-961f-82ee72b054a4

Patch

diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4
index ad2cb01d94f..73e07e513bc 100644
--- a/libstdc++-v3/acinclude.m4
+++ b/libstdc++-v3/acinclude.m4
@@ -4436,6 +4436,9 @@  AC_DEFUN([GLIBCXX_ENABLE_FILESYSTEM_TS], [
       solaris*)
         enable_libstdcxx_filesystem_ts=yes
         ;;
+      mingw*)
+        enable_libstdcxx_filesystem_ts=yes
+        ;;
       *)
         enable_libstdcxx_filesystem_ts=no
         ;;