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