mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
ci: pass -Werror using CFLAGS
Judging by https://github.com/systemd/systemd/issues/16224, it seems `--werror` doesn't work with `-Db_lto=true`
This commit is contained in:
parent
8d9982e30d
commit
e6175fbe45
2
.github/workflows/ubuntu-build-check.sh
vendored
2
.github/workflows/ubuntu-build-check.sh
vendored
@ -102,7 +102,7 @@ for args in "${ARGS[@]}"; do
|
||||
SECONDS=0
|
||||
|
||||
info "Checking build with $args"
|
||||
if ! AR="$AR" CC="$CC" CXX="$CXX" meson -Dtests=unsafe -Dslow-tests=true --werror $args build; then
|
||||
if ! AR="$AR" CC="$CC" CXX="$CXX" CFLAGS="-Werror" CXXFLAGS="-Werror" meson -Dtests=unsafe -Dslow-tests=true --werror $args build; then
|
||||
fatal "meson failed with $args"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user