Source: gmtsar
Version: 6.5+ds-2
Severity: normal
Tags: sid patch
X-Debbugs-Cc: [email protected]
User: [email protected]
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}"