diff options
| author | Andrey Konovalov <[email protected]> | 2024-08-14 16:10:52 +0000 |
|---|---|---|
| committer | Miguel Ojeda <[email protected]> | 2024-09-16 16:04:32 +0000 |
| commit | cc1d98f9fe30467a2224184336b3166ef4adbc25 (patch) | |
| tree | 99cab8e24870608f1f003f704131ecfb2de879d6 /scripts/generate_rust_target.rs | |
| parent | rust: cfi: add support for CFI_CLANG with Rust (diff) | |
| download | kernel-cc1d98f9fe30467a2224184336b3166ef4adbc25.tar.gz kernel-cc1d98f9fe30467a2224184336b3166ef4adbc25.zip | |
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
