diff options
author | Hugo Beauzée-Luyssen <hugo@beauzee.fr> | 2021-09-14 16:41:37 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-09-15 09:49:33 +0100 |
commit | cc1e28878a228b6c4a0872e56d97ac88971b7725 (patch) | |
tree | df79cbadd9ce4c6c0ee6894b5b3ff9cfc6911c2a /libstdc++-v3/crossconfig.m4 | |
parent | 243e0a5b1942879bc005bf150a744e69a4fcdc87 (diff) | |
download | gcc-cc1e28878a228b6c4a0872e56d97ac88971b7725.tar.gz |
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.
Diffstat (limited to 'libstdc++-v3/crossconfig.m4')
-rw-r--r-- | libstdc++-v3/crossconfig.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
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' |