From cc1e28878a228b6c4a0872e56d97ac88971b7725 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Tue, 14 Sep 2021 16:41:37 +0100 Subject: libstdc++: Check for TLS support on mingw cross-compilers Native mingw builds enable TLS, but crosses don't because we don't use GCC_CHECK_TLS in the cross-compiler config. libstdc++-v3/ChangeLog: * crossconfig.m4: Check for TLS support on mingw. * configure: Regenerate. --- libstdc++-v3/crossconfig.m4 | 1 + 1 file changed, 1 insertion(+) (limited to 'libstdc++-v3/crossconfig.m4') diff --git a/libstdc++-v3/crossconfig.m4 b/libstdc++-v3/crossconfig.m4 index ff44d5ae019..ae5283b7ad3 100644 --- a/libstdc++-v3/crossconfig.m4 +++ b/libstdc++-v3/crossconfig.m4 @@ -204,6 +204,7 @@ case "${host}" in GLIBCXX_CHECK_STDLIB_SUPPORT AC_CHECK_FUNCS(aligned_alloc posix_memalign memalign _aligned_malloc) AC_CHECK_FUNCS(_wfopen) + GCC_CHECK_TLS ;; *-netbsd* | *-openbsd*) SECTION_FLAGS='-ffunction-sections -fdata-sections' -- cgit v1.2.1