Overwriting armhf platform target to fix FTBFS with newer GCC (Closes: #1009622).

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-09 07:42:22 +01:00
parent d6bb69e32b
commit b9056be3b4
Signed by: daniel
GPG key ID: FBB4F0E80A80222F

5
debian/rules vendored
View file

@ -6,6 +6,11 @@ ifneq (,$(filter $(DEB_HOST_ARCH), armel x32))
PLATFORM = --platform=unknown PLATFORM = --platform=unknown
endif endif
ifeq ($(DEB_HOST_ARCH),armhf)
DEB_CFLAGS_MAINT_APPEND = -march=armv7-a+fp
export DEB_CFLAGS_MAINT_APPEND
endif
ifeq ($(DEB_HOST_ARCH), i386) ifeq ($(DEB_HOST_ARCH), i386)
PLATFORM = --disable-sse PLATFORM = --disable-sse
endif endif