toolchain/cross-compile: Allow TLS support selection.
Add a user-settable configuration value indicating whether the toolchain selected by the cross-compile variant supports thread local storage, using the default 'n' value to preserve compatibility with existing uses. Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
7052d52b3b
commit
1dfc469bd5
1 changed files with 9 additions and 0 deletions
9
cmake/toolchain/cross-compile/Kconfig
Normal file
9
cmake/toolchain/cross-compile/Kconfig
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Copyright © 2022 Keith Packard
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config TOOLCHAIN_CROSS_COMPILE_SUPPORTS_THREAD_LOCAL_STORAGE
|
||||
bool "Cross-compile toolchain supports TLS"
|
||||
select TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE
|
||||
help
|
||||
Set this if the cross-compile toolchain being used for the build
|
||||
supports thread local storage.
|
||||
Loading…
Reference in a new issue