include: linux: Allow older GCC versions
authorNolen Johnson <johnsonnolen@gmail.com>
Sun, 26 Mar 2023 23:17:31 +0000 (19:17 -0400)
committerNolen Johnson <johnsonnolen@gmail.com>
Sun, 26 Mar 2023 23:19:01 +0000 (01:19 +0200)
* 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

include/linux/compiler-gcc.h

index 1c1ca4168516271a2dad37eaa4cd7cffdecb7945..8c367b6f076f2573febbe33aa7f36ea25c4ea1a3 100644 (file)
  * 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