summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog2
-rwxr-xr-xdebian/rules2
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index a2a87c6..fd016a9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
gnumach (2:1.3.99.dfsg.git20121227-3) UNRELEASED; urgency=low
* control: Make gnumach-dev multi-arch:same.
+ * rules: Pass -fno-optimize-sibling-calls to gcc for building the dbg version,
+ to get better backtraces in the debugger.
-- Samuel Thibault <sthibault@debian.org> Sun, 06 Jan 2013 14:38:47 +0100
diff --git a/debian/rules b/debian/rules
index 2ecba4b..6419ac3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -84,7 +84,7 @@ build-dbg/config.status: configure
-mkdir build-dbg
cd build-dbg && PACKAGE_VERSION_SUFFIX=-486-dbg ../configure --enable-kdb $(drivers) \
- CFLAGS="$(CFLAGS) -fno-omit-frame-pointer" \
+ CFLAGS="$(CFLAGS) -fno-omit-frame-pointer -fno-optimize-sibling-calls" \
$(common_configure) \
build-xen-dbg/config.status: configure