debian/rules: Try disabling optimization altogether on sh4.
authorAaron M. Ucko <ucko@debian.org>
Wed, 7 Aug 2024 01:42:29 +0000 (21:42 -0400)
committerAaron M. Ucko <ucko@debian.org>
Wed, 7 Aug 2024 01:44:53 +0000 (21:44 -0400)
debian/changelog
debian/rules

index 99078fc9fc9930a28c8db44a294e71ad7c949df3..052440b29c10011fe2072ce44f48aa78450f7bec 100644 (file)
@@ -8,8 +8,9 @@ ncbi-blast+ (2.16.0+ds-6) UNRELEASED; urgency=medium
     blastdb_version back to 4 pending a proper fix.  Some things,
     including in particular q2-feature-classifier, will still explicitly
     request version 5, but everything else should be OK.  (See #1077777.)
+  * debian/rules: Try disabling optimization altogether on sh4.
 
- -- Aaron M. Ucko <ucko@debian.org>  Tue, 06 Aug 2024 21:37:01 -0400
+ -- Aaron M. Ucko <ucko@debian.org>  Tue, 06 Aug 2024 21:42:28 -0400
 
 ncbi-blast+ (2.16.0+ds-5) unstable; urgency=medium
 
index fdc451546eee2e3be17eba5cb562a35fbcc4d803..8455890a3bfd7b2a203fd403b5e58cbeccb777c7 100755 (executable)
@@ -54,10 +54,13 @@ endif
 
 include /usr/share/dpkg/buildflags.mk
 
-ifneq (,$(filter mips% sh4,$(DEB_HOST_ARCH)))
+ifneq (,$(filter mips%,$(DEB_HOST_ARCH)))
 CXXFLAGS := $(CXXFLAGS:-O%=-O)
 DEB_CONFIGURE_EXTRA_FLAGS += FAST_CXXFLAGS=-O
 endif
+ifeq (sh4,$(DEB_HOST_ARCH))
+DEB_CONFIGURE_COMMON_FLAGS += --without-optimization
+endif
 
 export CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MAKE