disable sanitizer recovery in UBSan debug builds
This makes it harder to miss that an error occurred and avoids spamming output. There should never be a single error, so it doesn't make sense to gather as many errors as possible when a single error is already a serious issue that would need to be fixed.pull/103/head
parent
d8ebdea05f
commit
8f9f2521a0
4
Makefile
4
Makefile
|
@ -49,8 +49,8 @@ ifeq ($(CONFIG_CXX_ALLOCATOR),true)
|
|||
endif
|
||||
|
||||
ifeq ($(CONFIG_UBSAN),true)
|
||||
CFLAGS += -fsanitize=undefined
|
||||
CXXFLAGS += -fsanitize=undefined
|
||||
CFLAGS += -fsanitize=undefined -fno-sanitize-recover=undefined
|
||||
CXXFLAGS += -fsanitize=undefined -fno-sanitize-recover=undefined
|
||||
endif
|
||||
|
||||
ifeq (,$(filter $(CONFIG_SEAL_METADATA),true false))
|
||||
|
|
Loading…
Reference in New Issue