From 77a5dd19104abb2d1369deb707022b7617d934bc Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Thu, 5 Nov 2020 14:11:00 +0100 Subject: [PATCH] pmb.aportgen.linux: add gcc10 extern YYLOC patch (MR 1987) Most downstream kernels need this patch to build with GCC-10, so add it by default in the linux aport generator. --- pmb/aportgen/linux.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pmb/aportgen/linux.py b/pmb/aportgen/linux.py index 2bdea91b..053c67d6 100644 --- a/pmb/aportgen/linux.py +++ b/pmb/aportgen/linux.py @@ -84,6 +84,7 @@ def generate(args, pkgname): patches = [ "gcc7-give-up-on-ilog2-const-optimizations.patch", "gcc8-fix-put-user.patch", + "gcc10-extern_YYLOC_global_declaration.patch", "kernel-use-the-gnu89-standard-explicitly.patch", ] for patch in patches: