From: Thomas Huth Date: Thu, 28 Oct 2021 18:59:07 +0000 (+0200) Subject: configure: Remove the check for the __thread keyword X-Git-Tag: v6.2.0-rc0~15^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=96c372d853eca988b6af216496e19fd24bfb1b78;p=thirdparty%2Fqemu.git configure: Remove the check for the __thread keyword We recently bumped our minimum required version of GCC to 7.4 and Clang to 6.0, and those compiler versions should support the __thread keyword already. Signed-off-by: Thomas Huth Message-Id: <20211028185910.1729744-2-thuth@redhat.com> Reviewed-by: Richard Henderson Signed-off-by: Paolo Bonzini --- diff --git a/configure b/configure index 2268e5d0abf..4c444e17500 100755 --- a/configure +++ b/configure @@ -1724,17 +1724,6 @@ if test "$static" = "yes" ; then fi fi -# Unconditional check for compiler __thread support - cat > $TMPC << EOF -static __thread int tls_var; -int main(void) { return tls_var; } -EOF - -if ! compile_prog "-Werror" "" ; then - error_exit "Your compiler does not support the __thread specifier for " \ - "Thread-Local Storage (TLS). Please upgrade to a version that does." -fi - cat > $TMPC << EOF #ifdef __linux__