summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2015-01-04 17:55:14 +0300
committerIgor Pashev <pashev.igor@gmail.com>2015-01-04 17:55:14 +0300
commit742c7edf7c35d0b07c1a3a4ff221b0c5a755c073 (patch)
treee06b769789576182f524a6ebb5bc559b286c211c
parentb49501e5b192c55f25ac3f527e6f6693721c33ab (diff)
downloadbind9-742c7edf7c35d0b07c1a3a4ff221b0c5a755c073.tar.gz
Include /usr/share/dpkg/default.mk
-rwxr-xr-xdebian/rules7
1 files changed, 1 insertions, 6 deletions
diff --git a/debian/rules b/debian/rules
index cfc80f72..49631630 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,12 +6,7 @@ export DEB_BUILD_HARDENING=1
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-ifndef DEB_HOST_ARCH
-DEB_BUILD_ARCH := $(shell dpkg --print-architecture)
-endif
-export arch = $(DEB_HOST_ARCH)
-
-DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+include /usr/share/dpkg/default.mk
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
DEBUG = -g