debian/rules: Try building with -fsection-anchors on alpha
authorAaron M. Ucko <ucko@debian.org>
Sun, 4 Aug 2024 20:00:50 +0000 (16:00 -0400)
committerAaron M. Ucko <ucko@debian.org>
Sun, 4 Aug 2024 20:00:50 +0000 (16:00 -0400)
... in hopes of satisfying the GOT size limit there too.

debian/changelog
debian/rules

index caf4943ee3e7f16b2cdb59083f87376cb1e03ea0..04b292106fbd3d80755cb5b15aa532fff740b789 100644 (file)
@@ -5,8 +5,10 @@ ncbi-blast+ (2.16.0+ds-5) UNRELEASED; urgency=medium
     for now.  They nominally succeed, but two dependent autopkgtests (for
     cct and kleborate) have started failing on s390x, and there's no
     evidence that other BE architectures fare any better.  (See #1077777.)
+  * debian/rules: Try building with -fsection-anchors on alpha in hopes of
+    satisfying the GOT size limit there too.
 
- -- Aaron M. Ucko <ucko@debian.org>  Sun, 04 Aug 2024 15:56:43 -0400
+ -- Aaron M. Ucko <ucko@debian.org>  Sun, 04 Aug 2024 16:00:49 -0400
 
 ncbi-blast+ (2.16.0+ds-4) unstable; urgency=medium
 
index 19abdded16d7ffc5e6490c925a8f1ed747bd8dac..f9858c1faa98c295416915d0aff69aeb0e118dc9 100755 (executable)
@@ -38,6 +38,10 @@ ifeq ($(DEB_HOST_ARCH_BITS),32)
   endif
 endif
 
+ifeq (alpha,$(DEB_HOST_ARCH))
+  export DEB_CFLAGS_MAINT_APPEND   += -fsection-anchors
+  export DEB_CXXFLAGS_MAINT_APPEND += -fsection-anchors
+endif
 ifeq (hppa,$(DEB_HOST_ARCH))
   export DEB_CFLAGS_MAINT_APPEND   += -ffunction-sections
   export DEB_CXXFLAGS_MAINT_APPEND += -ffunction-sections