[Bug 292636] Mk/Uses/meson.mk: Disable asserts on release builds

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 21 Mar 2026 11:29:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292636

--- Comment #19 from Gleb Popov <arrowd@FreeBSD.org> ---
(In reply to Daniel Engberg from comment #18)
I see how "globalness" of a flag hurts. To the contrary, I find global
unconditional knobs clearer and easier to process in the brain. Looking at the
single

MESON_ARGS= -Db_ndebug=if-release

line, it gives me an understanding how it affects all ports in all build modes.
But when I see

.ifndef WITH_DEBUG
MESON_ARGS= -Db_ndebug=false
...

I also start looking for an .else branch just in case it also has a
corresponding setting.

-- 
You are receiving this mail because:
You are the assignee for the bug.