ci: Enable -fanalyzer

Followup to https://github.com/ostreedev/ostree/pull/2463

One thing I noticed here is we lost usage of `build-check.sh`
which also invokes `clang`, which doesn't speak `-fanalyzer`
and would be broken by this if we try to enable `build-check.sh`
again.  But that can come later.
This commit is contained in:
Colin Walters 2021-10-14 10:40:39 -04:00
parent ec8cf31e98
commit fda41e8d24

View File

@ -30,6 +30,6 @@ esac
# always fail on warnings; https://github.com/ostreedev/ostree/pull/971
# NB: this disables the default set of flags from configure.ac
export CFLAGS="-Wall -Werror ${CFLAGS:-}"
export CFLAGS="-Wall -Werror -fanalyzer ${CFLAGS:-}"
build --enable-gtk-doc ${CONFIGOPTS:-}