Skip to content

Commit a904515

Browse files
pdgendtstephanosio
authored andcommitted
cmake: Declare toolchain support for GNU Extensions
Add a Kconfig symbol for the Zephyr SDK toolchain to select GNU Extensions. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
1 parent 6ccae40 commit a904515

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmake/zephyr/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ config TOOLCHAIN_ZEPHYR_SUPPORTS_THREAD_LOCAL_STORAGE
1010
def_bool y
1111
select TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE
1212

13+
config TOOLCHAIN_ZEPHYR_SUPPORTS_GNU_EXTENSIONS
14+
def_bool y
15+
select TOOLCHAIN_SUPPORTS_GNU_EXTENSIONS
16+
1317
config PICOLIBC_SUPPORTED
1418
def_bool y
1519
depends on "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "zephyr"

0 commit comments

Comments
 (0)