picolibc: Don't select TLS without toolchain support
If the architecture has TLS support, but the toolchain doesn't, then don't enable Zephyr TLS support when selecting picolibc. Closes: #47275. Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
462d87c619
commit
8865d4d7db
@ -38,7 +38,7 @@ config MINIMAL_LIBC
|
||||
|
||||
config PICOLIBC
|
||||
bool "Picolibc library"
|
||||
select THREAD_LOCAL_STORAGE if ARCH_HAS_THREAD_LOCAL_STORAGE
|
||||
select THREAD_LOCAL_STORAGE if ARCH_HAS_THREAD_LOCAL_STORAGE && TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE
|
||||
select LIBC_ERRNO if THREAD_LOCAL_STORAGE
|
||||
depends on !NATIVE_APPLICATION
|
||||
help
|
||||
|
||||
Loading…
Reference in New Issue
Block a user