diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2015-04-01 14:05:27 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2015-04-01 14:05:27 (GMT) |
commit | 0615eb4814d68579b26b9c5b388c146d9d553228 (patch) | |
tree | a55a6b674b74154976ae22eb127690eb6eaad699 /Makefile | |
parent | 76a03c1035829116e6fa9e80ad16364524514f9f (diff) | |
download | lz4-0615eb4814d68579b26b9c5b388c146d9d553228.zip lz4-0615eb4814d68579b26b9c5b388c146d9d553228.tar.gz lz4-0615eb4814d68579b26b9c5b388c146d9d553228.tar.bz2 |
Stricter tests : treat warnings as errors
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -131,18 +131,18 @@ test-travis: $(TRAVIS_TARGET) cmake: @cd cmake_unofficial; cmake CMakeLists.txt; $(MAKE) +gpptest: clean + export CC=g++; export CFLAGS="-O3 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Werror"; $(MAKE) -e all + clangtest: clean - export CC=clang; $(MAKE) all + export CFLAGS=-Werror; export CC=clang; $(MAKE) all staticAnalyze: clean export CFLAGS=-g; scan-build -v $(MAKE) all -gpptest: clean - export CC=g++; export CFLAGS="-O3 -Wall -Wextra -Wundef -Wshadow -Wcast-align"; $(MAKE) -e all - armtest: clean - export CC=arm-linux-gnueabi-gcc; cd lib; $(MAKE) -e all - export CC=arm-linux-gnueabi-gcc; cd programs; $(MAKE) -e bins + export CFLAGS=-Werror; export CC=arm-linux-gnueabi-gcc; cd lib; $(MAKE) -e all + export CFLAGS=-Werror; export CC=arm-linux-gnueabi-gcc; cd programs; $(MAKE) -e bins streaming-examples: cd examples; $(MAKE) -e test |