summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-04-13 06:50:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-04-13 06:50:04 +0000
commitb6fea35d88455be00853b397afc076957f2c8706 (patch)
tree71209260462b438460b177cc588d2bd08f0e1fc8
parentReleasing debian version 0.7.1-6. (diff)
downloadck-b6fea35d88455be00853b397afc076957f2c8706.tar.xz
ck-b6fea35d88455be00853b397afc076957f2c8706.zip
Overwriting armhf platform target to fix FTBFS with newer GCC (Closes: #1009622).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xdebian/rules5
1 files changed, 5 insertions, 0 deletions
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