summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules5
1 files changed, 4 insertions, 1 deletions
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