From 30c675400f56e6d4636e8f8f2b347655581613da Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 11 May 2022 10:25:47 +0200 Subject: Restrict to only using __thread with own C++14 threads implementation --- libbutl/buildfile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libbutl/buildfile') diff --git a/libbutl/buildfile b/libbutl/buildfile index 499800c..a7b20f3 100644 --- a/libbutl/buildfile +++ b/libbutl/buildfile @@ -16,6 +16,11 @@ windows = ($tclass == 'windows') # Whether to use our own implementation of C++14 threads on MinGW (note: # requires Windows 7 or later). # +# Note that for now we use built-in POSIX thread support during bootstrap +# (which, as a side effect, verifies we still use MinGW GCC configured with +# POSIX support, which we still need for TLS, exceptions, and thread-safe +# static locals). +# mingw_stdthread = ($tsys == 'mingw32') # Exclude these from compilation on targets where does not apply. -- cgit v1.1