libseat: Fix build with clang

See #276
This commit is contained in:
Dylan Araps 2021-07-12 14:18:22 +03:00
parent 70af83516d
commit ab50b5f8c7
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,10 @@
export DESTDIR="$1"
# Build fails in with clang due to
# -Werror -> -Wsign-compare.
export CFLAGS="-Wno-error $CFLAGS"
meson \
--prefix=/usr \
-Ddefault_library=both \