diff mbox series

[50/75] backports: Use compile using GNU11

Message ID 20240627234808.1253337-51-hauke@hauke-m.de (mailing list archive)
State New, archived
Headers show
Series backports: Update to kernel 6.1.95 | expand

Commit Message

Hauke Mehrtens June 27, 2024, 11:47 p.m. UTC
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(+)
diff mbox series

Patch

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/