Skip to content

Commit

Permalink
cmake: Declare toolchain support for GNU Extensions
Browse files Browse the repository at this point in the history
Add a Kconfig symbol for the Zephyr SDK toolchain to select GNU
Extensions.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
  • Loading branch information
pdgendt authored and stephanosio committed Apr 26, 2024
1 parent 6ccae40 commit a904515
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/zephyr/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ config TOOLCHAIN_ZEPHYR_SUPPORTS_THREAD_LOCAL_STORAGE
def_bool y
select TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE

config TOOLCHAIN_ZEPHYR_SUPPORTS_GNU_EXTENSIONS
def_bool y
select TOOLCHAIN_SUPPORTS_GNU_EXTENSIONS

config PICOLIBC_SUPPORTED
def_bool y
depends on "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "zephyr"
Expand Down

0 comments on commit a904515

Please sign in to comment.