diff options
author | Cristian Cadar <c.cadar@imperial.ac.uk> | 2016-10-02 11:02:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-02 11:02:40 +0100 |
commit | c1cc00efe3aded180c889d92a12fadd822f86f06 (patch) | |
tree | c54f2b924bdf26f8d4a41c9f5910fe9fc4f11174 | |
parent | 53d4e2c9c2d379db8749ec6b8c8b6dfb2db4ba37 (diff) | |
parent | 22087763d44b4f4b6250706ff3e2b3da67347b84 (diff) | |
download | klee-c1cc00efe3aded180c889d92a12fadd822f86f06.tar.gz |
Merge pull request #475 from delcypher/klee_fix_asan
Don't build KLEE's runtime with any sanitizers.
-rw-r--r-- | Makefile.common | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common index cf7bdcf7..a6ce34fb 100644 --- a/Makefile.common +++ b/Makefile.common @@ -80,3 +80,8 @@ endif # For metaSMT include $(PROJ_SRC_ROOT)/MetaSMT.mk +# If building KLEE with the Sanitizers don't build the runtime with it +# because KLEE doesn't know how to handle it. +ifneq ("X$(MODULE_NAME)$(BYTECODE_LIBRARY)X","XX") + CFLAGS := $(filter-out -fsanitize=%,$(CFLAGS)) +endif |