tools/make-windows-release: use -Werror

This commit is contained in:
Eric Biggers 2016-05-28 16:12:37 -05:00
parent eaa2247dfa
commit 6ac4a94203

View File

@ -4,7 +4,7 @@ set -eu
for arch in 'i686' 'x86_64'; do
make clean
make -j CC=${arch}-w64-mingw32-gcc all benchmark.exe
make -j CC=${arch}-w64-mingw32-gcc CFLAGS="-Werror" all benchmark.exe
dir=libdeflate-$(git describe --tags | tr -d v)-windows-${arch}-bin
rm -rf $dir ${dir}.zip
mkdir $dir