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.
This commit is contained in:
parent
484de996fc
commit
cf6cab52f2
@ -325,6 +325,7 @@ CONFIGURE_OPTS=(
|
|||||||
-Dsplit-usr=false
|
-Dsplit-usr=false
|
||||||
-Dsplit-bin=true
|
-Dsplit-bin=true
|
||||||
-Db_lto=true
|
-Db_lto=true
|
||||||
|
-Db_ndebug=false
|
||||||
-Dversion-tag=v%{version}-%{release}
|
-Dversion-tag=v%{version}-%{release}
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -469,7 +470,7 @@ python3 %{SOURCE2} %buildroot <<EOF
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%meson_test
|
%ninja_test -C %{_vpath_builddir}
|
||||||
|
|
||||||
#############################################################################################
|
#############################################################################################
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user