diff options
author | Andrey Konovalov <andreyknvl@gmail.com> | 2024-08-14 18:10:52 +0200 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2024-09-16 18:04:32 +0200 |
commit | cc1d98f9fe30467a2224184336b3166ef4adbc25 (patch) | |
tree | 99cab8e24870608f1f003f704131ecfb2de879d6 /scripts/Kconfig.include | |
parent | rust: cfi: add support for CFI_CLANG with Rust (diff) | |
download | linux-cc1d98f9fe30467a2224184336b3166ef4adbc25.tar.xz linux-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 <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 'scripts/Kconfig.include')
0 files changed, 0 insertions, 0 deletions