trunk/makefile
| r242621 | r242622 | |
| 599 | 599 | ifneq (,$(findstring undefined,$(SANITIZE))) |
| 600 | 600 | ifneq (,$(findstring clang,$(CC))) |
| 601 | 601 | # TODO: check if linker is clang++ |
| 602 | | CCOMFLAGS += -fno-sanitize=alignment -fno-sanitize=function -fno-sanitize=shift -fno-sanitize=vptr -fno-sanitize=object-size |
| 602 | CCOMFLAGS += -fno-sanitize=shift -fno-sanitize=object-size |
| 603 | # produces a lot of messages - disable it for now |
| 604 | CCOMFLAGS += -fno-sanitize=alignment |
| 605 | # these are false positives because of the way our delegates work |
| 606 | CCOMFLAGS += -fno-sanitize=function |
| 607 | # 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 |
| 608 | CCOMFLAGS += -fno-sanitize=vptr |
| 603 | 609 | # clang takes forever to compile src/emu/video/psx.c when this isn't disabled |
| 604 | 610 | CCOMFLAGS += -fno-sanitize=null |
| 605 | 611 | # clang takes forever to compile src/emu/cpu/tms57002/tms57002.c when this isn't disabled |