We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ea74b4 commit 167ebedCopy full SHA for 167ebed
scripts/Makefile.ubsan
@@ -10,6 +10,6 @@ ubsan-cflags-$(CONFIG_UBSAN_DIV_ZERO) += -fsanitize=integer-divide-by-zero
10
ubsan-cflags-$(CONFIG_UBSAN_UNREACHABLE) += -fsanitize=unreachable
11
ubsan-cflags-$(CONFIG_UBSAN_BOOL) += -fsanitize=bool
12
ubsan-cflags-$(CONFIG_UBSAN_ENUM) += -fsanitize=enum
13
-ubsan-cflags-$(CONFIG_UBSAN_TRAP) += -fsanitize-undefined-trap-on-error
+ubsan-cflags-$(CONFIG_UBSAN_TRAP) += $(call cc-option,-fsanitize-trap=undefined,-fsanitize-undefined-trap-on-error)
14
15
export CFLAGS_UBSAN := $(ubsan-cflags-y)
0 commit comments