File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -520,6 +520,16 @@ OPT_CFLAGS="-mwindows"
520520fi
521521AC_SUBST ( OPT_CFLAGS )
522522
523+ AS_IF ( [ test "x${CI}" = xtrue] , [
524+ CFLAGS="${CFLAGS} -Werror"
525+ CFLAGS="${CFLAGS} -Wno-error=maybe-uninitialized" # TODO: drop line after fixing!
526+ CFLAGS="${CFLAGS} -Wno-error=missing-prototypes" # TODO: drop line after fixing!
527+ CFLAGS="${CFLAGS} -Wno-error=return-type" # TODO: drop line after fixing!
528+ CFLAGS="${CFLAGS} -Wno-error=uninitialized" # TODO: drop line after fixing!
529+ CFLAGS="${CFLAGS} -Wno-error=unknown-warning-option" # TODO: drop line after fixing!
530+ CFLAGS="${CFLAGS} -Wno-error=unused-function" # TODO: drop line after fixing!
531+ ] )
532+
523533AC_SUBST ( CFLAGS , "${CFLAGS} ${DEBUG_CFLAGS} ${OPT_CFLAGS}" )
524534
525535libs_dynamic_loader="-ldl"
You can’t perform that action at this time.
0 commit comments