[PATCH 50/75] backports: Use compile using GNU11

Hauke Mehrtens <[email protected]> Fri, 28 Jun 2024 01:47:36 +0200
Newsgroups org.kernel.vger.backports
Message-ID <[email protected]>
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 <[email protected]>
---
 backport/Makefile.kernel | 2 ++
 1 file changed, 2 insertions(+)

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/
-- 
2.45.2