mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-04-05 20:31:00 +08:00
Turn on -Werror
This commit is contained in:
parent
fe28ce8d25
commit
783304c164
@ -65,7 +65,7 @@ AM_CONDITIONAL(SQL, test x$sql = xtrue)
|
|||||||
AC_SUBST(SQL)
|
AC_SUBST(SQL)
|
||||||
AC_SUBST(LFLAGS)
|
AC_SUBST(LFLAGS)
|
||||||
|
|
||||||
CFLAGS="$CFLAGS -Wall -Wstrict-prototypes"
|
CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -Werror"
|
||||||
AS_CASE([$host],
|
AS_CASE([$host],
|
||||||
[*mingw*|*cygwin*], [LDFLAGS="$LDFLAGS -no-undefined"], [])
|
[*mingw*|*cygwin*], [LDFLAGS="$LDFLAGS -no-undefined"], [])
|
||||||
AS_CASE([$host],
|
AS_CASE([$host],
|
||||||
|
Loading…
Reference in New Issue
Block a user