History

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.)

Kees Cook committed 2 years ago

Commit 918327e1 parent 30edbdf11 files · +18 −41Browse files

Showing the changes to scripts (1 of 11 files). Show all

Unified · Split

scripts/Makefile.lib+1−1
@@ -175,7 +175,7 @@ endif · 174 unmodified lines
175175
176176 ifeq ($(CONFIG_UBSAN),y)
177177 _c_flags += $(if $(patsubst n%,, \
178− $(UBSAN_SANITIZE_$(basetarget).o)$(UBSAN_SANITIZE)$(CONFIG_UBSAN_SANITIZE_ALL)), \
178+ $(UBSAN_SANITIZE_$(basetarget).o)$(UBSAN_SANITIZE)y), \
179179 $(CFLAGS_UBSAN))
180180 endif
181181

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t