This is a multi-part MIME message sent by reportbug.
Source: gmtsar
Version: 6.5+ds-2
Severity: normal
Tags: sid patch
X-Debbugs-Cc:
wuruilong@loongson.cn
User:
debian-loongarch@lists.debian.org
Usertags: loong64
Dear Maintainer,
gmtsar compiles incorrectly on loongarch. The attached patch solves the above problem. It has been verified and compiled successfully in the local environment.
wuruilong
--- gmtsar-6.5+ds.orig/configure.ac
+++ gmtsar-6.5+ds/configure.ac
@@ -226,6 +226,9 @@ if test -x "$GMT_CONF" && test "X$GMT_IN
if test "$host_cpu" = "aarch64" && test "$os" = "Linux"; then
GCC_64=""
LDFLAGS="$LDFLAGS"
+ elif test "$host_cpu" = "loongarch64" && test "$os" = "Linux"; then
+ GCC_64=""
+ LDFLAGS="$LDFLAGS"
else
bits=`$GMT_CONF --bits`
GCC_64="-m${bits}"
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)