Previous 199869 Revisions Next

r34111 Tuesday 30th December, 2014 at 15:31:07 UTC by Oliver Stöneberg
final clarification of disabled UndefinedBehaviorSanitizer checks (nw)
[/trunk]makefile

trunk/makefile
r242622r242623
599599ifneq (,$(findstring undefined,$(SANITIZE)))
600600ifneq (,$(findstring clang,$(CC)))
601601# TODO: check if linker is clang++
602CCOMFLAGS += -fno-sanitize=shift -fno-sanitize=object-size
603602# produces a lot of messages - disable it for now
604603CCOMFLAGS += -fno-sanitize=alignment
605604# these are false positives because of the way our delegates work
606605CCOMFLAGS += -fno-sanitize=function
606# clang takes forever to compile src/emu/cpu/tms57002/tms57002.c when this isn't disabled
607CCOMFLAGS += -fno-sanitize=shift
608# clang takes forever to compile src/emu/cpu/tms57002/tms57002.c, src/emu/cpu/m6809/hd6309.c when this isn't disabled
609CCOMFLAGS += -fno-sanitize=object-size
607610# clang takes forever to compile src/emu/cpu/tms57002/tms57002.c, src/emu/cpu/m6809/konami.c, src/emu/cpu/m6809/hd6309.c, src/emu/video/psx.c when this isn't disabled
608611CCOMFLAGS += -fno-sanitize=vptr
609612# clang takes forever to compile src/emu/video/psx.c when this isn't disabled


Previous 199869 Revisions Next


© 1997-2024 The MAME Team