test: add -Werror to CFLAGS in compilation test

This commit is contained in:
Miroslav Lichvar 2018-08-22 15:03:59 +02:00
parent c00d517e12
commit 62b1a11736

View file

@ -4,6 +4,8 @@
cd ../..
export CFLAGS="-O2 -Werror -Wpointer-arith -Wformat-signedness -Wno-unknown-warning-option -D_FORTIFY_SOURCE=2"
for opts in \
"--enable-debug" \
"--enable-ntp-signd" \