wlroots: follow upstream recommendation for ndebug.

Assertions in this case are desirable at runtime.

Fix build for meson 0.56.x, since new warnings were added.
This commit is contained in:
Érico Rolim 2021-02-02 18:05:10 -03:00 committed by Érico Nogueira Rolim
parent be267cecfc
commit e2d287ae63

View file

@ -1,11 +1,12 @@
# Template file for 'wlroots'
pkgname=wlroots
version=0.12.0
revision=1
revision=2
build_style=meson
# enable assertions - upstream uses them only for unreachable situations
configure_args="-Dlogind=disabled -Dlibseat=enabled
-Dxcb-errors=enabled -Dxcb-icccm=enabled -Dxwayland=enabled
-Dx11-backend=enabled -Dexamples=false"
-Dx11-backend=enabled -Dexamples=false -Dwerror=false -Db_ndebug=false"
hostmakedepends="pkg-config wayland-devel"
_devel_depends="MesaLib-devel libseat-devel eudev-libudev-devel libdrm-devel
libinput-devel libxkbcommon-devel pixman-devel wayland-devel wayland-protocols