Avoid sanitizer warning for stable CI

This commit is contained in:
YaacovHazan 2025-04-22 13:41:43 +03:00
parent 779a20058b
commit 9af9c4deff
1 changed files with 3 additions and 0 deletions

View File

@ -101,6 +101,9 @@ else
ifeq ($(SANITIZER),undefined)
MALLOC=libc
CFLAGS+=-fsanitize=undefined -fno-sanitize-recover=all -fno-omit-frame-pointer
ifeq (clang,$(CLANG))
CFLAGS+=-fno-sanitize=function
endif
LDFLAGS+=-fsanitize=undefined
else
ifeq ($(SANITIZER),thread)