summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2015-04-09 22:53:55 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2015-04-09 22:53:55 (GMT)
commit33134fb6c8aff71375f2a629d4d9856a28d930d6 (patch)
treed976a36c8ca4e7d5c4d6963513a4e237d09dfe47 /Makefile
parentf344fbd3ca1a0a32668737e79bfdb06f3fadbba7 (diff)
downloadlz4-33134fb6c8aff71375f2a629d4d9856a28d930d6.zip
lz4-33134fb6c8aff71375f2a629d4d9856a28d930d6.tar.gz
lz4-33134fb6c8aff71375f2a629d4d9856a28d930d6.tar.bz2
Added : sanitize test
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 831f0d3..ca1f525 100644
--- a/Makefile
+++ b/Makefile
@@ -103,6 +103,9 @@ gpptest: clean
clangtest: clean
$(MAKE) all CC=clang CFLAGS="-O3 -Werror"
+sanitize: clean
+ $(MAKE) test CC=clang CFLAGS="-O3 -g -fsanitize=undefined"
+
staticAnalyze: clean
scan-build -v $(MAKE) all CFLAGS=-g