Bug#1099721: gmtsar: Please add support for loong64
wuruilong
wuruilong at loongson.cn
Fri Mar 7 02:44:03 GMT 2025
Source: gmtsar
Version: 6.5+ds-2
Severity: normal
Tags: sid patch
X-Debbugs-Cc: wuruilong at loongson.cn
User: debian-loongarch at 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
-------------- next part --------------
--- 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}"
More information about the Pkg-grass-devel
mailing list