From 56f72ef1da4ce2675c8bc926740cf1e6c997dfe7 Mon Sep 17 00:00:00 2001 From: "Aaron M. Ucko" Date: Tue, 6 Aug 2024 21:42:29 -0400 Subject: [PATCH] debian/rules: Try disabling optimization altogether on sh4. --- debian/changelog | 3 ++- debian/rules | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 99078fc9..052440b2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Tue, 06 Aug 2024 21:37:01 -0400 + -- Aaron M. Ucko Tue, 06 Aug 2024 21:42:28 -0400 ncbi-blast+ (2.16.0+ds-5) unstable; urgency=medium diff --git a/debian/rules b/debian/rules index fdc45154..8455890a 100755 --- a/debian/rules +++ b/debian/rules @@ -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 -- 2.30.2