Bug#1098902: marble: Workaround for the build on armhf
Source: marble
Version: 4:24.12.2-2
Severity: serious
Tags: ftbfs patch
X-Debbugs-Cc: 1098741-done@bugs.debian.org
Below is a patch workarounding the FTBFS on armhf.
diff -Nru marble-24.12.2/debian/control marble-24.12.2/debian/control
--- marble-24.12.2/debian/control 2025-02-19 13:55:25.000000000 +0000
+++ marble-24.12.2/debian/control 2025-02-22 15:14:31.000000000 +0000
@@ -49,7 +49,6 @@
qt6-webengine-dev (>= 6.6~) [amd64 arm64 armhf i386],
shared-mime-info,
zlib1g-dev,
- dont-build-on-armhf [armhf],
Standards-Version: 4.7.0
Rules-Requires-Root: no
Homepage: https://marble.kde.org/
diff -Nru marble-24.12.2/debian/rules marble-24.12.2/debian/rules
--- marble-24.12.2/debian/rules 2025-02-18 23:40:53.000000000 +0000
+++ marble-24.12.2/debian/rules 2025-02-22 15:14:31.000000000 +0000
@@ -5,6 +5,11 @@
libpkgs_gen_strict_local_shlibs = $(libpkgs_all_packages)
include /usr/share/pkg-kde-tools/qt-kde-team/3/library-packages.mk
+# workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119015
+ifneq (,$(filter $(DEB_HOST_ARCH), armhf))
+ export DEB_CXXFLAGS_MAINT_APPEND += -Os
+endif
+
%:
dh $@
Reply to: