diff options
author | Thomas Huth <thuth@redhat.com> | 2021-10-28 20:59:07 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-11-02 15:57:28 +0100 |
commit | 96c372d853eca988b6af216496e19fd24bfb1b78 (patch) | |
tree | 23582e379c0d734b2471d458120d265a4cea0ee8 | |
parent | eea9453a016b622f74898809f53e0ca85961cd80 (diff) | |
download | qemu-96c372d853eca988b6af216496e19fd24bfb1b78.zip qemu-96c372d853eca988b6af216496e19fd24bfb1b78.tar.gz qemu-96c372d853eca988b6af216496e19fd24bfb1b78.tar.bz2 |
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 <thuth@redhat.com>
Message-Id: <20211028185910.1729744-2-thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rwxr-xr-x | configure | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -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__ |