diff --git a/backport/Makefile.kernel b/backport/Makefile.kernel index a936eb3b..155e1ff2 100644 --- a/backport/Makefile.kernel +++ b/backport/Makefile.kernel @@ -32,6 +32,8 @@ endif subdir-ccflags-y := $(call cc-option, -fno-pie) $(call cc-option, -no-pie) +subdir-ccflags-y += -std=gnu11 + obj-y += compat/ obj-$(CPTCFG_CFG80211) += net/wireless/
The upstream kernel switched to GNU11 between kernel 5.15 and 6.1. The code makes use of some extensions now, use GNU11 too. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> --- backport/Makefile.kernel | 2 ++ 1 file changed, 2 insertions(+)