From: Bdale Garbee Date: Tue, 1 Nov 2011 21:02:08 +0000 (-0600) Subject: fix for #644785 X-Git-Tag: debian/1.4-2~2 X-Git-Url: https://git.gag.com/?p=debian%2Fgzip;a=commitdiff_plain;h=d51dcd2b26da01604c759acf6a6e4b29d79b2da6 fix for #644785 --- diff --git a/debian/changelog b/debian/changelog index 266e0d1..61d9b5e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +gzip (1.4-2) UNRELEASED; urgency=low + + * patch to use DEB_HOST_ARCH in rules, closes: #644785 + + -- Bdale Garbee Tue, 01 Nov 2011 15:01:55 -0600 + gzip (1.4-1) unstable; urgency=low * new upstream version, closes: #627121, #633927 diff --git a/debian/rules b/debian/rules index 3361d69..3f9891e 100755 --- a/debian/rules +++ b/debian/rules @@ -11,8 +11,7 @@ ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) CONFARGS = --host=$(DEB_HOST_GNU_TYPE) endif -buildarch := $(shell dpkg-architecture -qDEB_BUILD_ARCH) -ifeq ($(buildarch),amd64) +ifeq ($(shell dpkg-architecture -qDEB_HOST_ARCH),amd64) CFLAGS=-g -O2 -Wall -DUNALIGNED_OK else CFLAGS=-g -O2 -Wall