dde_linux: enable -gnu11

The option is default since 5.18 and several compilation units
require it.

Issue genodelabs/genode-allwinner#21.
This commit is contained in:
Josef Söntgen 2023-05-30 17:16:58 +02:00 committed by Norman Feske
parent 098bc66fc9
commit 7109b80bbd

View File

@ -133,7 +133,7 @@ CC_DEF += -include $(LX_SRC_DIR)/include/linux/kconfig.h
CC_DEF += -include $(LX_SRC_DIR)/include/linux/compiler_types.h
CC_DEF += -D__KERNEL__ -DCONFIG_CC_HAS_K_CONSTRAINT=1
CC_DEF += -DKASAN_SHADOW_SCALE_SHIFT=3
CC_C_OPT += -std=gnu89
CC_C_OPT += -std=gnu11
CC_C_OPT += -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs
CC_C_OPT += -Werror=implicit-function-declaration -Werror=implicit-int
CC_C_OPT += -Werror=return-type -Wno-format-security -Wno-psabi -Wno-sign-compare