From 9cc3aabd122360c7a01f6180bd62ed5c0f421306 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Thu, 9 Jan 2020 00:27:41 +0000 Subject: Don't build openssh-tests on Ubuntu i386 Closes: #948466 --- debian/rules | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index d1f282d11..5e415fc7f 100755 --- a/debian/rules +++ b/debian/rules @@ -100,8 +100,12 @@ confflags_udeb += --with-cflags='$(cflags_udeb)' confflags += --with-ldflags='$(strip -Wl,--as-needed $(LDFLAGS))' confflags_udeb += --with-ldflags='-Wl,--as-needed' +ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes) $(DEB_HOST_ARCH), yes i386) + BUILD_PACKAGES += -Nopenssh-tests +endif + %: - dh $@ --with=autoreconf,systemd,runit + dh $@ --with=autoreconf,systemd,runit $(BUILD_PACKAGES) autoreconf: autoreconf -f -i -- cgit v1.2.3