From cf6cab52f20e8e3c43b0cbcb2367fd5d9dfc49d0 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Mar 29 2019 13:51:04 +0000 Subject: 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. --- 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 <