mirror of https://mirror.osredm.com/root/redis.git
Avoid sanitizer warning for stable CI
This commit is contained in:
parent
779a20058b
commit
9af9c4deff
|
@ -101,6 +101,9 @@ else
|
||||||
ifeq ($(SANITIZER),undefined)
|
ifeq ($(SANITIZER),undefined)
|
||||||
MALLOC=libc
|
MALLOC=libc
|
||||||
CFLAGS+=-fsanitize=undefined -fno-sanitize-recover=all -fno-omit-frame-pointer
|
CFLAGS+=-fsanitize=undefined -fno-sanitize-recover=all -fno-omit-frame-pointer
|
||||||
|
ifeq (clang,$(CLANG))
|
||||||
|
CFLAGS+=-fno-sanitize=function
|
||||||
|
endif
|
||||||
LDFLAGS+=-fsanitize=undefined
|
LDFLAGS+=-fsanitize=undefined
|
||||||
else
|
else
|
||||||
ifeq ($(SANITIZER),thread)
|
ifeq ($(SANITIZER),thread)
|
||||||
|
|
Loading…
Reference in New Issue