Skip to content

Commit 37bb792

Browse files
committed
arcmwdt: Enable GNU C Extensions
Replace the global CSTD property with a Kconfig symbol selection. Signed-off-by: Pieter De Gendt <[email protected]>
1 parent 23846b0 commit 37bb792

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

cmake/compiler/arcmwdt/compiler_flags.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
set_property(GLOBAL PROPERTY CSTD gnu99)
2-
31
# List the warnings that are not supported for C++ compilations
42
list(APPEND CXX_EXCLUDED_OPTIONS
53
-Werror=implicit-int

cmake/toolchain/arcmwdt/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@
44
config TOOLCHAIN_ARCMWDT_SUPPORTS_THREAD_LOCAL_STORAGE
55
def_bool y
66
select TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE
7+
8+
config TOOLCHAIN_ARCMWDT_SUPPORTS_GNU_EXTENSIONS
9+
def_bool y
10+
select TOOLCHAIN_SUPPORTS_GNU_EXTENSIONS

0 commit comments

Comments
 (0)