kernel: bump 5.15 to 5.15.100
[openwrt/openwrt.git] / target / linux / generic / backport-5.15 / 005-v5.17-03-Kbuild-use-std-gnu11-for-KBUILD_USERCFLAGS.patch
index f60daa380095954fbc6b533afc13d211eaa3eaf6..e34acbba1716353a6d22f8c336687aeab130c89b 100644 (file)
@@ -30,18 +30,14 @@ Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
  Makefile | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/Makefile b/Makefile
-index fe86758acaaa..e569fccfb009 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -416,7 +416,7 @@ HOSTCXX    = g++
- endif
-
+@@ -440,7 +440,7 @@ endif
+ HOSTPKG_CONFIG        = pkg-config
  export KBUILD_USERCFLAGS := -Wall -Wmissing-prototypes -Wstrict-prototypes \
 -                            -O2 -fomit-frame-pointer -std=gnu89 \
 +                            -O2 -fomit-frame-pointer -std=gnu11 \
-                             -Wdeclaration-after-statement
+                             -Wdeclaration-after-statement
  export KBUILD_USERLDFLAGS :=
-
---
-2.37.2