Build with -Werror
This commit is contained in:
@@ -22,7 +22,7 @@ AM_CONDITIONAL(LD_ISCSI,
|
|||||||
[expr "$host_os" : linux > /dev/null 2>&1])
|
[expr "$host_os" : linux > /dev/null 2>&1])
|
||||||
|
|
||||||
if test "$ac_cv_prog_gcc" = yes; then
|
if test "$ac_cv_prog_gcc" = yes; then
|
||||||
WARN_CFLAGS="-Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wwrite-strings"
|
WARN_CFLAGS="-Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wwrite-strings -Werror"
|
||||||
fi
|
fi
|
||||||
AC_SUBST(WARN_CFLAGS)
|
AC_SUBST(WARN_CFLAGS)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user