mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
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: Phil Elwell <phil@raspberrypi.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
exit 1 # Disable plugins
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user