From: Nolen Johnson Date: Sun, 26 Mar 2023 23:17:31 +0000 (-0400) Subject: include: linux: Allow older GCC versions X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=94d3f99447c5d8c021f633203f18917dc948585a;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git include: linux: Allow older GCC versions * Some of our kmods aren't ready for clang. * We can revert this once they are. * Stock Deadpool S kernel source does this. Change-Id: I432cb54efc15ee7e242437077670ba7925fc91ed --- diff --git a/include/linux/compiler-gcc.h b/include/linux/compiler-gcc.h index 1c1ca4168516..8c367b6f076f 100644 --- a/include/linux/compiler-gcc.h +++ b/include/linux/compiler-gcc.h @@ -154,7 +154,7 @@ * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63293 * https://lore.kernel.org/r/20210107111841.GN1551@shell.armlinux.org.uk */ -# error Sorry, your version of GCC is too old - please use 5.1 or newer. +//# error Sorry, your version of GCC is too old - please use 5.1 or newer. #endif #if GCC_VERSION < 30300