Fixing baseline violations on armel and i386, thanks to Adrian Bunk <bunk@debian.org> (Closes: #993010).

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-09 07:41:17 +01:00
parent 45692b75c6
commit 4ce65563ea
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
4 changed files with 49 additions and 3 deletions

10
debian/rules vendored
View file

@ -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