--- a/configure.ac
+++ b/configure.ac
@@ -21,7 +21,7 @@ AC_CHECK_HEADERS([stdio.h stdlib.h strin
 
 MBTOOLS_REQUIRES="glib-2.0 >= 2.10.0 libmodbus >= 3.1.0"
 PKG_CHECK_MODULES(MBTOOLS_DEPS, [$MBTOOLS_REQUIRES])
-MBTOOLS_CFLAGS="-Wall -Werror $MBTOOLS_DEPS_CFLAGS"
+MBTOOLS_CFLAGS="-Wall $MBTOOLS_DEPS_CFLAGS"
 MBTOOLS_LIBS="$MBTOOLS_DEPS_LIBS"
 AC_SUBST(MBTOOLS_CFLAGS)
 AC_SUBST(MBTOOLS_LIBS)
