[packages/xfsprogs] - some asserts are broken and prevent actuall debugging, so separate asserts from --debug build

arekm arekm at pld-linux.org
Thu Oct 11 07:00:02 CEST 2018


commit 83f8c239b06d9fb97f18172a363f2c20d726ba7f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Oct 11 06:59:54 2018 +0200

    - some asserts are broken and prevent actuall debugging, so separate asserts from --debug build

 xfsprogs.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/xfsprogs.spec b/xfsprogs.spec
index 8c24541..5e5b7e3 100644
--- a/xfsprogs.spec
+++ b/xfsprogs.spec
@@ -1,3 +1,5 @@
+%bcond_without	debug_asserts
+#
 Summary:	Tools for the XFS filesystem
 Summary(pl.UTF-8):	Narzędzia do systemu plików XFS
 Name:		xfsprogs
@@ -110,7 +112,7 @@ Biblioteki statyczne do XFS.
 %{__aclocal} -I m4
 %{__autoconf}
 %configure \
-	DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}" \
+	DEBUG="%{?with_debug_asserts:-DDEBUG}%{!?with_debug_asserts:-DNDEBUG}" \
 	OPTIMIZER="%{rpmcflags}" \
 	--enable-lto=no \
 	--enable-blkid \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xfsprogs.git/commitdiff/83f8c239b06d9fb97f18172a363f2c20d726ba7f



More information about the pld-cvs-commit mailing list