Bug#1068627: teem: please add support for loong64
wuruilong
wuruilong at loongson.cn
Mon Apr 8 09:04:16 BST 2024
Source: teem
Severity: normal
Tags: patch
User: debian-loongarch at lists.debian.org
Usertags: loong64
X-Debbugs-Cc: wuruilong at loongson.cn
Dear Maintainer,
The teem package compiles incorrectly on the loong64 architecture,
the attached patch solves this problem and has been verified to compile successfully
wuruilong
-- System Information:
Debian Release: trixie/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: loong64 (loongarch64)
Kernel: Linux 5.10.0-60.96.0.126.oe2203.loongarch64 (SMP w/32 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
-------------- next part --------------
--- a/teem-1.12.0~20160122/debian/rules 2022-06-23 00:57:46.000000000 +0000
+++ b/teem-1.12.0~20160122/debian/rules 2024-04-08 07:54:44.355153371 +0000
@@ -23,7 +23,7 @@
ifneq (,$(filter $(DEB_HOST_ARCH_CPU), i386))
export DEB_CFLAGS_MAINT_APPEND = -ffloat-store
endif
-ifneq (,$(filter $(DEB_HOST_ARCH_CPU), arm64 powerpc ppc64 ppc64el riscv64 s390x))
+ifneq (,$(filter $(DEB_HOST_ARCH_CPU), arm64 loong64 powerpc ppc64 ppc64el riscv64 s390x))
export DEB_CFLAGS_MAINT_APPEND = -ffp-contract=off
endif
More information about the debian-science-maintainers
mailing list