From: Luca Boccassi Date: Fri, 18 Aug 2017 09:57:28 +0000 (+0100) Subject: Use dpkg's DEB_HOST* instead of manually parsing X-Git-Url: https://gerrit.fd.io/r/gitweb?p=deb_dpdk.git;a=commitdiff_plain;h=5f6755a8680731c05b6f213913a98ab91440d1ce Use dpkg's DEB_HOST* instead of manually parsing Change-Id: I69663f204ae93da5d77a874af172aa59c831b813 Signed-off-by: Luca Boccassi (cherry picked from commit e7dbd0d51e03526752d631031ebf5012aca9eb5c) Signed-off-by: Luca Boccassi --- diff --git a/debian/rules b/debian/rules index 8ec1287f..bfe456e1 100755 --- a/debian/rules +++ b/debian/rules @@ -9,9 +9,6 @@ include /usr/share/dpkg/default.mk DPDK_ABI := $(shell echo $(DEB_VERSION_UPSTREAM) | cut -d '.' -f1-2) -DEB_HOST_GNU_CPU := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU) -DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) - # see FEATURE AREAS in dpkg-buildflags(1) export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie