aboutsummaryrefslogtreecommitdiff
path: root/rust/kernel/lib.rs
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@gmail.com>2024-08-14 18:10:52 +0200
committerMiguel Ojeda <ojeda@kernel.org>2024-09-16 18:04:32 +0200
commitcc1d98f9fe30467a2224184336b3166ef4adbc25 (patch)
tree99cab8e24870608f1f003f704131ecfb2de879d6 /rust/kernel/lib.rs
parentca627e636551e74b528f150d744f67d9a63f0ae7 (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 <andreyknvl@gmail.com> Acked-by: Marco Elver <elver@google.com> Link: https://lore.kernel.org/r/20240814161052.10374-1-andrey.konovalov@linux.dev Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/kernel/lib.rs')
0 files changed, 0 insertions, 0 deletions