diff options
author | Colin Walters <walters@verbum.org> | 2021-10-14 10:40:39 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2021-10-15 15:44:04 -0400 |
commit | fda41e8d249e479a02f67c7b3e31c98f0bb8d553 (patch) | |
tree | 276394f6439c4692a593ae50eb3edc7fa71c3df7 /ci/build.sh | |
parent | ec8cf31e98c0901758b9504a196ca007a358fc3b (diff) | |
download | ostree-fda41e8d249e479a02f67c7b3e31c98f0bb8d553.tar.gz |
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.
Diffstat (limited to 'ci/build.sh')
-rwxr-xr-x | ci/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/build.sh b/ci/build.sh index 2afcd018..ffdeba01 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -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:-} |