Xtensa does not support thread_local. Disable it in absl/base/config.h. PiperOrigin-RevId: 730515423 Change-Id: Ic5a5f0881bfc532f10da35a0e038875d587ac2b8
diff --git a/absl/base/config.h b/absl/base/config.h index 510c485..1bfad2a 100644 --- a/absl/base/config.h +++ b/absl/base/config.h
@@ -276,12 +276,10 @@ // ABSL_HAVE_THREAD_LOCAL // -// DEPRECATED - `thread_local` is available on all supported platforms. -// Checks whether C++11's `thread_local` storage duration specifier is -// supported. +// Checks whether the `thread_local` storage duration specifier is supported. #ifdef ABSL_HAVE_THREAD_LOCAL #error ABSL_HAVE_THREAD_LOCAL cannot be directly set -#else +#elif !defined(__XTENSA__) #define ABSL_HAVE_THREAD_LOCAL 1 #endif