arcmwdt: Enable GNU C Extensions
Replace the global CSTD property with a Kconfig symbol selection. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
ff6985766b
commit
cb459f12ba
|
@ -1,5 +1,3 @@
|
||||||
set_property(GLOBAL PROPERTY CSTD gnu99)
|
|
||||||
|
|
||||||
# List the warnings that are not supported for C++ compilations
|
# List the warnings that are not supported for C++ compilations
|
||||||
list(APPEND CXX_EXCLUDED_OPTIONS
|
list(APPEND CXX_EXCLUDED_OPTIONS
|
||||||
-Werror=implicit-int
|
-Werror=implicit-int
|
||||||
|
|
|
@ -4,3 +4,7 @@
|
||||||
config TOOLCHAIN_ARCMWDT_SUPPORTS_THREAD_LOCAL_STORAGE
|
config TOOLCHAIN_ARCMWDT_SUPPORTS_THREAD_LOCAL_STORAGE
|
||||||
def_bool y
|
def_bool y
|
||||||
select TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE
|
select TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE
|
||||||
|
|
||||||
|
config TOOLCHAIN_ARCMWDT_SUPPORTS_GNU_EXTENSIONS
|
||||||
|
def_bool y
|
||||||
|
select TOOLCHAIN_SUPPORTS_GNU_EXTENSIONS
|
||||||
|
|
Loading…
Reference in a new issue