diff options
author | Kees Cook <keescook@chromium.org> | 2024-01-28 19:45:29 +0100 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2024-02-06 11:21:38 +0100 |
commit | 918327e9b7ffb45321cbb4b9b86b58ec555fe6b3 (patch) | |
tree | 64a30901a6a4e1ef48e7f1d6c2d76238ded80183 /scripts/Makefile.lib | |
parent | ubsan: Silence W=1 warnings in self-test (diff) | |
download | linux-918327e9b7ffb45321cbb4b9b86b58ec555fe6b3.tar.xz linux-918327e9b7ffb45321cbb4b9b86b58ec555fe6b3.zip |
ubsan: Remove CONFIG_UBSAN_SANITIZE_ALL
For simplicity in splitting out UBSan options into separate rules,
remove CONFIG_UBSAN_SANITIZE_ALL, effectively defaulting to "y", which
is how it is generally used anyway. (There are no ":= y" cases beyond
where a specific file is enabled when a top-level ":= n" is in effect.)
Cc: Andrey Konovalov <andreyknvl@gmail.com>
Cc: Marco Elver <elver@google.com>
Cc: linux-doc@vger.kernel.org
Cc: linux-kbuild@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to '')
-rw-r--r-- | scripts/Makefile.lib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index cd5b181060f1..52efc520ae4f 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -175,7 +175,7 @@ endif ifeq ($(CONFIG_UBSAN),y) _c_flags += $(if $(patsubst n%,, \ - $(UBSAN_SANITIZE_$(basetarget).o)$(UBSAN_SANITIZE)$(CONFIG_UBSAN_SANITIZE_ALL)), \ + $(UBSAN_SANITIZE_$(basetarget).o)$(UBSAN_SANITIZE)y), \ $(CFLAGS_UBSAN)) endif |