From 45b68b5e89e82c8237a5b028f7c1596a905f95fe Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 27 Aug 2021 04:25:35 +0200 Subject: Fixing baseline violations on armel and i386, thanks to Adrian Bunk (Closes: #993010). Signed-off-by: Daniel Baumann --- debian/rules | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index ee6a3be..e8da4e2 100755 --- a/debian/rules +++ b/debian/rules @@ -2,8 +2,12 @@ include /usr/share/dpkg/architecture.mk -ifeq ($(DEB_BUILD_ARCH),armel) - PLATFORM = --platform=armv7l +ifneq (,$(filter $(DEB_HOST_ARCH), armel x32)) + PLATFORM = --platform=unknown +endif + +ifeq ($(DEB_HOST_ARCH), i386) + PLATFORM = --disable-sse endif %: @@ -16,7 +20,7 @@ override_dh_auto_configure: --includedir=/usr/include \ --mandir=/usr/share/man \ --cores=2 \ - --disable-sse $(PLATFORM) + $(PLATFORM) override_dh_auto_test: $(MAKE) -j1 check -- cgit v1.2.3