From cf6cab52f20e8e3c43b0cbcb2367fd5d9dfc49d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 27 Mar 2019 18:37:25 +0100 Subject: [PATCH] Disable NDEBUG in builds In principle systemd supports building without assertions for production, but we want the assertions to be enabled to catch as many errors early as possible. Also, let's remove the obsolete work-around for meson not showing logs. This is already reverted upstream, but apparently not in the version of macros that Fedora has. --- systemd.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/systemd.spec b/systemd.spec index f0d74a0..b2f4abd 100644 --- a/systemd.spec +++ b/systemd.spec @@ -325,6 +325,7 @@ CONFIGURE_OPTS=( -Dsplit-usr=false -Dsplit-bin=true -Db_lto=true + -Db_ndebug=false -Dversion-tag=v%{version}-%{release} ) @@ -469,7 +470,7 @@ python3 %{SOURCE2} %buildroot <