Commit 7ad6465c authored by Simon McVittie's avatar Simon McVittie

Use --with-valgrind=auto (supported since 1.7.6) for the debug build

parent ee73d80d
......@@ -11,6 +11,7 @@ dbus (1.8.8-2) UNRELEASED; urgency=medium
(because that's responsible for normal session bus setup)
* Make Build-Profiles field comply with updated spec (patch from
Johannes Schauer, Closes: #764222)
* Use --with-valgrind=auto (supported since 1.7.6) for the debug build
-- Simon McVittie <smcv@debian.org> Mon, 22 Sep 2014 11:52:10 +0100
......
......@@ -49,6 +49,7 @@ debug_configure_flags := \
--enable-asserts \
--enable-checks \
--enable-verbose-mode \
--with-valgrind=auto \
--prefix=/usr/lib/$(DEB_HOST_MULTIARCH)/dbus-1.0/debug-build \
--libdir='$${prefix}/lib' \
$(NULL)
......@@ -90,16 +91,6 @@ debug_configure_flags += \
$(NULL)
endif
# libdbus doesn't have --with-valgrind=auto yet. We want to enable it
# on those architectures where it exists, while only having to modify
# debian/control when it works on more architectures.
#
# We could use --with-valgrind=auto if someone reviewed the patch on
# <https://bugs.freedesktop.org/show_bug.cgi?id=56925>.
ifeq (yes,$(shell if pkg-config --exists valgrind; then echo yes; fi))
debug_configure_flags += --with-valgrind
endif
override_dh_auto_configure:
cp debian/dbus.install-generic debian/dbus.install
if [ -n "$(with_systemd)" ]; then \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment