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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux