summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Oliver Stöneberg <oliverst@online.de>2014-12-30 16:31:07 +0100
committer Oliver Stöneberg <oliverst@online.de>2014-12-30 16:31:07 +0100
commit13ffe9965c13bc1fa26ec1556ba815c8efcf3baa (patch)
treeff827310e3f66b4d7d226764069e33c52b8ba8df
parentd9a6a2e9142ae62fe3deec9a9d31e7dca83a50b2 (diff)
final clarification of disabled UndefinedBehaviorSanitizer checks (nw)
-rw-r--r--makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/makefile b/makefile
index 87dbd584576..ad310ccb835 100644
--- a/makefile
+++ b/makefile
@@ -599,11 +599,14 @@ endif
ifneq (,$(findstring undefined,$(SANITIZE)))
ifneq (,$(findstring clang,$(CC)))
# TODO: check if linker is clang++
-CCOMFLAGS += -fno-sanitize=shift -fno-sanitize=object-size
# produces a lot of messages - disable it for now
CCOMFLAGS += -fno-sanitize=alignment
# these are false positives because of the way our delegates work
CCOMFLAGS += -fno-sanitize=function
+# clang takes forever to compile src/emu/cpu/tms57002/tms57002.c when this isn't disabled
+CCOMFLAGS += -fno-sanitize=shift
+# clang takes forever to compile src/emu/cpu/tms57002/tms57002.c, src/emu/cpu/m6809/hd6309.c when this isn't disabled
+CCOMFLAGS += -fno-sanitize=object-size
# 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
CCOMFLAGS += -fno-sanitize=vptr
# clang takes forever to compile src/emu/video/psx.c when this isn't disabled