disabled more checks with SANITIZE=undefined for now (nw)

This commit is contained in:
Oliver Stöneberg 2014-02-26 16:19:37 +00:00
parent ada07d7415
commit a78097b9b3

View File

@ -586,7 +586,7 @@ endif
ifneq (,$(findstring undefined,$(SANITIZE)))
ifneq (,$(findstring clang,$(CC)))
# TODO: check if linker is clang++
CCOMFLAGS += -fno-sanitize=alignment
CCOMFLAGS += -fno-sanitize=alignment -fno-sanitize=function -fno-sanitize=shift -fno-sanitize=null -fno-sanitize=signed-integer-overflow -fno-sanitize=vptr -fno-sanitize=float-cast-overflow -fno-sanitize=integer-divide-by-zero -fno-sanitize=float-divide-by-zero
endif
endif
endif