aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2023-11-30 20:29:34 +0000
committerGustavo A. R. Silva <[email protected]>2024-01-21 23:45:31 +0000
commita5e0ace04fbf56c1794b1a2fa7a93672753b3fc7 (patch)
tree7bbc93e0a1fa41f979e198e14e02a45d7bcb9063 /scripts/generate_rust_target.rs
parentMakefile: Enable -Wstringop-overflow globally (diff)
downloadkernel-a5e0ace04fbf56c1794b1a2fa7a93672753b3fc7.tar.gz
kernel-a5e0ace04fbf56c1794b1a2fa7a93672753b3fc7.zip
init: Kconfig: Disable -Wstringop-overflow for GCC-11
-Wstringop-overflow is buggy in GCC-11. Therefore, we should disable this option specifically for that compiler version. To achieve this, we introduce a new configuration option: GCC11_NO_STRINGOP_OVERFLOW. The compiler option related to string operation overflow is now managed under configuration CC_STRINGOP_OVERFLOW. This option is enabled by default for all other versions of GCC that support it. Link: https://lore.kernel.org/lkml/[email protected]/ Link: https://lore.kernel.org/lkml/[email protected]/ Reviewed-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/linux-hardening/ZWj1+jkweEDWbmAR@work/ Signed-off-by: Gustavo A. R. Silva <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions