summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-11-11 23:05:56 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-11-11 23:05:56 +0000
commit40e67ff2e39951568898d5b9239ef553022df3be (patch)
tree247794a105767d767f5d627e5839542cd172a049 /debian
parentb63cc762d12c67639343f5945a1e09b4295cf932 (diff)
Fix kernel debugger
debian/rules: Pass -fno-omit-frame-pointer for -dbg builds, to fix kernel debugger traces & co.
Diffstat (limited to 'debian')
-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