ncbi-blast+ (2.16.0+ds-4) UNRELEASED; urgency=medium
* NOT RELEASED YET.
- * debian/rules: Move architecture.mk inclusion to the very top for the
- sake of hypothetical builds bypassing dpkg-buildpackage.
+ * debian/rules:
+ - Move architecture.mk inclusion to the very top for the sake of
+ hypothetical builds bypassing dpkg-buildpackage.
+ - Compile with -ffunction-sections on hppa and -mxgot on mips*
+ (mips64el in practice) due to having outgrown default settings.
- -- Aaron M. Ucko <ucko@debian.org> Sat, 27 Jul 2024 22:28:37 -0400
+ -- Aaron M. Ucko <ucko@debian.org> Sat, 27 Jul 2024 22:35:01 -0400
ncbi-blast+ (2.16.0+ds-3) unstable; urgency=medium
endif
endif
+ifeq (hppa,$(DEB_HOST_ARCH))
+ export DEB_CFLAGS_MAINT_APPEND += -ffunction-sections
+ export DEB_CXXFLAGS_MAINT_APPEND += -ffunction-sections
+endif
+# Down to mips64el in practice, but easy enough to generalize
+ifneq (,$(findstring mips,$(DEB_HOST_ARCH)))
+ export DEB_CFLAGS_MAINT_APPEND += -mxgot
+ export DEB_CXXFLAGS_MAINT_APPEND += -mxgot
+endif
+
include /usr/share/dpkg/buildflags.mk
ifneq (,$(findstring mips,$(DEB_HOST_ARCH)))