From 2a0cfd6070829d4da0fdb3c8980369c7ee27cd39 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Sun, 26 Dec 2021 00:59:02 +0000 Subject: [PATCH] debian/rules: Fix FTCBFS: Use host tools provided from dpkg Use host tools provided from dpkg's buildtools.mk. Closes: #985998 Signed-off-by: Ian Jackson --- debian/rules | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 67c5271..65c44fc 100755 --- a/debian/rules +++ b/debian/rules @@ -5,8 +5,11 @@ package=userv t=debian/tmp +DPKG_EXPORT_BUILDTOOLS=1 +include /usr/share/dpkg/buildtools.mk + ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) - INSTOPTS= LDFLAGS=-s INSTALL_PROGRAM='install -c -s' + INSTOPTS= LDFLAGS=-s INSTALL_PROGRAM='install -c -s --strip-program=$(STRIP)' else INSTOPTS= INSTALL_PROGRAM='install -c' endif -- 2.30.2