summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xci/build-check.sh2
-rwxr-xr-xci/build.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/ci/build-check.sh b/ci/build-check.sh
index aed8ba7e..716052c1 100755
--- a/ci/build-check.sh
+++ b/ci/build-check.sh
@@ -25,7 +25,7 @@ if test -x /usr/bin/clang; then
if grep -q -e 'static inline.*_GLIB_AUTOPTR_LIST_FUNC_NAME' /usr/include/glib-2.0/glib/gmacros.h; then
echo 'Skipping clang check, see https://bugzilla.gnome.org/show_bug.cgi?id=796346'
else
- export CFLAGS="-Wall -Werror ${CFLAGS:-}"
+ export CFLAGS="-Wall -Werror -Wno-error=deprecated-declarations ${CFLAGS:-}"
git clean -dfx && git submodule foreach git clean -dfx
export CC=clang
build
diff --git a/ci/build.sh b/ci/build.sh
index 2afcd018..48605658 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 -Wno-error=deprecated-declarations ${CFLAGS:-}"
build --enable-gtk-doc ${CONFIGOPTS:-}