diff --git a/ci/build-check.sh b/ci/build-check.sh index ed129c74..bd0686bd 100755 --- a/ci/build-check.sh +++ b/ci/build-check.sh @@ -25,8 +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 - # Except for clang-4.0: error: argument unused during compilation: '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' [-Werror,-Wunused-command-line-argument] - export CFLAGS="-Wall -Werror -Wno-error=unused-command-line-argument ${CFLAGS:-}" + export CFLAGS="-Wall -Werror ${CFLAGS:-}" git clean -dfx && git submodule foreach git clean -dfx export CC=clang build