From b6fea35d88455be00853b397afc076957f2c8706 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 13 Apr 2022 08:50:04 +0200 Subject: Overwriting armhf platform target to fix FTBFS with newer GCC (Closes: #1009622). Signed-off-by: Daniel Baumann --- debian/rules | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/debian/rules b/debian/rules index fc4665d..9ed6221 100755 --- a/debian/rules +++ b/debian/rules @@ -6,6 +6,11 @@ ifneq (,$(filter $(DEB_HOST_ARCH), armel x32)) PLATFORM = --platform=unknown 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) PLATFORM = --disable-sse endif -- cgit v1.2.3