diff options
author | Andrey Konovalov <[email protected]> | 2024-08-14 18:10:52 +0200 |
---|---|---|
committer | Miguel Ojeda <[email protected]> | 2024-09-16 18:04:32 +0200 |
commit | cc1d98f9fe30467a2224184336b3166ef4adbc25 (patch) | |
tree | 99cab8e24870608f1f003f704131ecfb2de879d6 /scripts/generate_rust_target.rs | |
parent | ca627e636551e74b528f150d744f67d9a63f0ae7 (diff) |
kasan: simplify and clarify Makefile
When KASAN support was being added to the Linux kernel, GCC did not yet
support all of the KASAN-related compiler options. Thus, the KASAN
Makefile had to probe the compiler for supported options.
Nowadays, the Linux kernel GCC version requirement is 5.1+, and thus we
don't need the probing of the -fasan-shadow-offset parameter: it exists in
all 5.1+ GCCs.
Simplify the KASAN Makefile to drop CFLAGS_KASAN_MINIMAL.
Also add a few more comments and unify the indentation.
Signed-off-by: Andrey Konovalov <[email protected]>
Acked-by: Marco Elver <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions