From c7261aa8d84661ed4be2bfb5a0065b2b8e7d420d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 20 Feb 2025 15:06:02 +0100 Subject: [PATCH] Adding patch from Helmut Grohne to improve cross building by using the host compiler (Closes: #959521). Signed-off-by: Daniel Baumann --- debian/rules | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/debian/rules b/debian/rules index 7350f30..1315012 100755 --- a/debian/rules +++ b/debian/rules @@ -1,8 +1,13 @@ #!/usr/bin/make -f +-include /usr/share/dpkg/buildtools.mk + %: dh ${@} +override_dh_auto_configure: + dh_auto_configure -- 'CXX=$(CXX)' + override_dh_auto_install: dh_auto_install -- DESTDIR=$(CURDIR)/debian/lzd