summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2016-11-14 15:10:31 (GMT)
committerYann Collet <cyan@fb.com>2016-11-14 15:10:31 (GMT)
commit1b24cc115595f7cd2f8f5f6de0a9d44a70bdf827 (patch)
tree85faf2952179862335e122572e52584625f3b9da /Makefile
parentecc55d19ba7ce083899459ebbe4b14c109e2bea9 (diff)
downloadlz4-1b24cc115595f7cd2f8f5f6de0a9d44a70bdf827.zip
lz4-1b24cc115595f7cd2f8f5f6de0a9d44a70bdf827.tar.gz
lz4-1b24cc115595f7cd2f8f5f6de0a9d44a70bdf827.tar.bz2
fixed conversion warnings
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e92ae8d..3f1b414 100644
--- a/Makefile
+++ b/Makefile
@@ -91,9 +91,12 @@ travis-install:
test:
$(MAKE) -C $(TESTDIR) test
+clangtest: CFLAGS="-O3 -Werror -Wconversion -Wno-sign-conversion"
clangtest: clean
clang -v
- CFLAGS="-O3 -Werror -Wconversion -Wno-sign-conversion" $(MAKE) all CC=clang
+ @CFLAGS="-O3 -Werror -Wconversion -Wno-sign-conversion" $(MAKE) -C $(LZ4DIR) all CC=clang
+ @CFLAGS="-O3 -Werror -Wconversion -Wno-sign-conversion" $(MAKE) -C $(PRGDIR) all CC=clang
+ @CFLAGS="-O3 -Werror -Wconversion -Wno-sign-conversion" $(MAKE) -C $(TESTDIR) all CC=clang
sanitize: clean
CFLAGS="-O3 -g -fsanitize=undefined" $(MAKE) test CC=clang FUZZER_TIME="-T1mn" NB_LOOPS=-i1