mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
CI: fix broken FreeBSD CI by setting -Dlibsfdo:b_ndebug=false
...because with with
meson setup build -Dbuildtype=release -Db_ndebug=true \
--werror --force-fallback-for=libsfdo
we get the following warning:
In file included from ../subprojects/libsfdo/common/dirs.c:5:
../subprojects/libsfdo/include/common/membuild.h: In function ‘sfdo_membuild_validate’:
../subprojects/libsfdo/include/common/membuild.h:29:65: error: unused parameter ‘membuild’ [-Werror=unused-parameter]
29 | static inline void sfdo_membuild_validate(struct sfdo_membuild *membuild) {
...because `sfdo_membuild_validate()` contains nothing but an `assert()`
and that therefore results in an `unused-parameter` warning with `NDEBUG`.
https://gitlab.freedesktop.org/vyivel/libsfdo/-/blob/main/include/common/membuild.h?ref_type=heads#L30
This commit is contained in:
parent
26bd02d457
commit
c9030dcc5b
1 changed files with 2 additions and 0 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
|
@ -168,6 +168,7 @@ jobs:
|
|||
meson setup build-gcc-release -Dxwayland=enabled \
|
||||
-Dbuildtype=release -Db_ndebug=true --werror
|
||||
meson configure build-gcc-release -Dwlroots:b_ndebug=false || true
|
||||
meson configure build-gcc-release -Dlibsfdo:b_ndebug=false || true
|
||||
meson compile -C build-gcc-release
|
||||
' | $TARGET
|
||||
|
||||
|
|
@ -190,6 +191,7 @@ jobs:
|
|||
meson setup build-clang-release -Dxwayland=enabled \
|
||||
-Dbuildtype=release -Db_ndebug=true --werror
|
||||
meson configure build-clang-release -Dwlroots:b_ndebug=false || true
|
||||
meson configure build-clang-release -Dlibsfdo:b_ndebug=false || true
|
||||
meson compile -C build-clang-release
|
||||
' | $TARGET
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue