Add --enable-ubsan (undefined behavior sanitizer)

This commit is contained in:
Nicolas Williams committed 2016-01-17 13:06:27 -06:00
1 parent b92a12cf6c
commit d228490162
2 files changed
+9

No files matched your search

+4
View File
@@ -56,6 +56,10 @@ endif
include_HEADERS = src/jv.h src/jq.h
if ENABLE_UBSAN
AM_CFLAGS += -fsanitize=undefined
endif
### Running tests under Valgrind
if ENABLE_ASAN