Skip to content
Commit 69c94d46 authored by Phil Elwell's avatar Phil Elwell Committed by popcornmix
Browse files

kbuild: Disable gcc plugins



The GCC plugin feature leads to different kernel configurations on what
ought to be equivalent build systems because they depend on the build
hosts native compilers rather than the cross compilers needed for the
target. This causes problems with module symbol version mismatches.

Disable GCC plugins for all build hosts.

Advanced build script hackery borrowed from a patch by milhouse.

Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.com>
parent 1f1620ca
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment