From 9b2f5738c6aa6aaad7ef106ba0d3c1cc6682ee76 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 22 Dec 2017 19:00:11 +0100 Subject: [PATCH] Debian package: don't use -z9 on 32-bit architectures See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=846564 --- debian-upstream/rules | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/debian-upstream/rules b/debian-upstream/rules index fefa5987d..80bc55bb8 100755 --- a/debian-upstream/rules +++ b/debian-upstream/rules @@ -70,4 +70,7 @@ override_dh_installchangelogs: dh_installchangelogs NEWS.md override_dh_builddeb: - dh_builddeb -- -Zxz -z8 + case $(shell uname -m) in \ + i*86) dh_builddeb -- -Zxz ;; \ + *) dh_builddeb -- -Zxz -z9 ;; \ + esac