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 <PaltsevEvgeniy@gmail.com>
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
This commit is contained in:
Evgeniy Paltsev 2024-07-09 18:24:22 +01:00 committed by Anas Nashif
parent 8408acd970
commit 021b5cd38f
1 changed files with 1 additions and 0 deletions

View File

@ -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