summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog5
-rwxr-xr-xdebian/rules5
2 files changed, 8 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 8b2491b..8304ae4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,7 +3,10 @@ gnumach (2:1.3.99.dfsg.git20111010-2) UNRELEASED; urgency=low
* debian/control:
- Do not make gnumach-dbg depend on gnumach.
- Remove article in synopsis.
- * debian/rules: Add stamp files, and build-indep and build-arch targets.
+ * debian/rules:
+ - Add stamp files, and build-indep and build-arch targets.
+ - Pass -fno-omit-frame-pointer for -dbg builds, to fix kernel debugger
+ traces & co.
-- Samuel Thibault <sthibault@debian.org> Tue, 11 Oct 2011 20:59:21 +0200
diff --git a/debian/rules b/debian/rules
index d91252a..7915ade 100755
--- a/debian/rules
+++ b/debian/rules
@@ -44,7 +44,6 @@ endif
drivers :=
common_configure := \
- CFLAGS="$(CFLAGS)" \
--build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) \
--prefix=/usr \
--exec-prefix=/
@@ -57,6 +56,7 @@ build/config.status: configure
-mkdir build
cd build && ../configure $(drivers) \
+ CFLAGS="$(CFLAGS)" \
$(common_configure)
build-xen/config.status: configure
@@ -64,6 +64,7 @@ build-xen/config.status: configure
-mkdir build-xen
cd build-xen && ../configure \
+ CFLAGS="$(CFLAGS)" \
$(common_configure) \
--enable-platform=xen
@@ -72,6 +73,7 @@ build-dbg/config.status: configure
-mkdir build-dbg
cd build-dbg && ../configure --enable-kdb $(drivers) \
+ CFLAGS="$(CFLAGS) -fno-omit-frame-pointer" \
$(common_configure) \
build-xen-dbg/config.status: configure
@@ -79,6 +81,7 @@ build-xen-dbg/config.status: configure
-mkdir build-xen-dbg
cd build-xen-dbg && ../configure --enable-kdb \
+ CFLAGS="$(CFLAGS) -fno-omit-frame-pointer" \
$(common_configure) \
--enable-platform=xen