Turn on -Werror

This commit is contained in:
Evan Miller 2020-08-05 23:07:48 -04:00
parent fe28ce8d25
commit 783304c164

View File

@ -65,7 +65,7 @@ AM_CONDITIONAL(SQL, test x$sql = xtrue)
AC_SUBST(SQL)
AC_SUBST(LFLAGS)
CFLAGS="$CFLAGS -Wall -Wstrict-prototypes"
CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -Werror"
AS_CASE([$host],
[*mingw*|*cygwin*], [LDFLAGS="$LDFLAGS -no-undefined"], [])
AS_CASE([$host],