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
Daniel Micay 2019-08-18 01:59:48 -04:00
parent d8ebdea05f
commit 8f9f2521a0
1 changed files with 2 additions and 2 deletions

View File

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