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.)
Showing the changes to scripts (1 of 11 files). Show all
Unified · Split
| @@ -175,7 +175,7 @@ endif · 174 unmodified lines | ||
| 175 | 175 | |
| 176 | 176 | ifeq ($(CONFIG_UBSAN),y) |
| 177 | 177 | _c_flags += $(if $(patsubst n%,, \ |
| 178 | − $(UBSAN_SANITIZE_$(basetarget).o)$(UBSAN_SANITIZE)$(CONFIG_UBSAN_SANITIZE_ALL)), \ | |
| 178 | + $(UBSAN_SANITIZE_$(basetarget).o)$(UBSAN_SANITIZE)y), \ | |
| 179 | 179 | $(CFLAGS_UBSAN)) |
| 180 | 180 | endif |
| 181 | 181 | |