From 9af9c4deff7699b920ebb6d5ab7f38e0e2a8045e Mon Sep 17 00:00:00 2001 From: YaacovHazan Date: Tue, 22 Apr 2025 13:41:43 +0300 Subject: [PATCH] Avoid sanitizer warning for stable CI --- src/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Makefile b/src/Makefile index ecbd2753d..6a8790941 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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)