Previous 199869 Revisions Next

r32899 Thursday 23rd October, 2014 at 07:58:45 UTC by Oliver Stöneberg
enabled some more ubsan checks (nw)
[/trunk]makefile

trunk/makefile
r241410r241411
598598ifneq (,$(findstring undefined,$(SANITIZE)))
599599ifneq (,$(findstring clang,$(CC)))
600600# TODO: check if linker is clang++
601CCOMFLAGS += -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 -fno-sanitize=object-size
601CCOMFLAGS += -fno-sanitize=alignment -fno-sanitize=function -fno-sanitize=shift -fno-sanitize=null  -fno-sanitize=vptr -fno-sanitize=object-size
602# clang takes forever to compile src/emu/cpu/tms57002/tms57002.c when this isn't disabled
603CCOMFLAGS += -fno-sanitize=signed-integer-overflow
602604endif
603605endif
604606endif


Previous 199869 Revisions Next


© 1997-2024 The MAME Team