Source: qgis
Version: 3.40.6+dfsg-1
Severity: important
Tags: ftbfs patch

The following works around the mips FTBFS:

--- debian/rules.old    2025-04-21 12:25:54.044517024 +0000
+++ debian/rules        2025-04-21 12:31:32.700350315 +0000
@@ -132,6 +132,11 @@
        CXXFLAGS += -DNDEBUG
 endif
 
+ifneq (,$(findstring mips,$(DEB_HOST_ARCH)))
+       CFLAGS += -Os
+       CXXFLAGS += -Os
+endif
+
 ifeq ($(DEB_BUILD_ARCH),mips64el)
        CXXFLAGS += -mxgot
 endif

Reply via email to