builds: Set CFLAGS += -Werror in all linux subdirectory compilations

This commit is contained in:
Jon Shallow committed 2022-02-18 14:23:43 +00:00
1 parent 69b865cd3b
commit 19928e81bd
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ if test $err = 0 -a "x$ARCHIVE" != "x"; then
DIR=`pwd`/`tar taf $ARCHIVE |cut -d/ -f1|head -1`
tar xaf $ARCHIVE && cd $DIR && \
$DIR/configure $PREFIX --enable-tests --enable-silent-rules --enable-documentation --enable-examples --disable-dtls && \
make && make install
make EXTRA_CFLAGS=-Werror && make install EXTRA_CFLAGS=-Werror
err=$?
fi