[PATCH 04/74] backports: move to -std=gnu11

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

 



From: Miri Korenblit <miriam.rachel.korenblit@xxxxxxxxx>

The upstream kernel moved and we want to take some patches
that take advantage of that, so also move backports.

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@xxxxxxxxx>
Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
---
 backport/Makefile.kernel | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/backport/Makefile.kernel b/backport/Makefile.kernel
index 11ce4177f2f7..5735421dad8c 100644
--- a/backport/Makefile.kernel
+++ b/backport/Makefile.kernel
@@ -35,6 +35,10 @@ ifeq ($(CPTCFG_KERNEL_4_3),y)
 subdir-ccflags-y += -Wno-pointer-sign
 endif
 
+# upstream moved, move the driver for a few constructions such as
+# variable declarations in for loops
+subdir-ccflags-y += -std=gnu11
+
 obj-y += compat/
 
 obj-$(CPTCFG_CFG80211) += net/wireless/
-- 
2.45.1





[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