From 021b5cd38f793a4299fef81988aee3f4a9db66d2 Mon Sep 17 00:00:00 2001 From: Evgeniy Paltsev Date: Tue, 9 Jul 2024 18:24:22 +0100 Subject: [PATCH] toolchain: arcmwdt: always enable TLS in case of CPP The CPP in ARC MWDT toolchain relies on TLS (THREAD_LOCAL_STORAGE) so enable it if CPP is selected. Signed-off-by: Evgeniy Paltsev Signed-off-by: Eugeniy Paltsev --- cmake/toolchain/arcmwdt/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/toolchain/arcmwdt/Kconfig b/cmake/toolchain/arcmwdt/Kconfig index 3f70536b367..e647ed2c91a 100644 --- a/cmake/toolchain/arcmwdt/Kconfig +++ b/cmake/toolchain/arcmwdt/Kconfig @@ -4,6 +4,7 @@ config TOOLCHAIN_ARCMWDT_SUPPORTS_THREAD_LOCAL_STORAGE def_bool y select TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE + select THREAD_LOCAL_STORAGE if CPP config TOOLCHAIN_ARCMWDT_SUPPORTS_GNU_EXTENSIONS def_bool y