diff --git a/libvisual/configure.ac b/libvisual/configure.ac index accd6915..b2a46857 100644 --- a/libvisual/configure.ac +++ b/libvisual/configure.ac @@ -520,6 +520,10 @@ OPT_CFLAGS="-mwindows" fi AC_SUBST(OPT_CFLAGS) +AS_IF([test "x${CI}" = xtrue], [ + CFLAGS="${CFLAGS} -Werror" +]) + AC_SUBST(CFLAGS, "${CFLAGS} ${DEBUG_CFLAGS} ${OPT_CFLAGS}") libs_dynamic_loader="-ldl"