Bug#1099720: routino: Please add support for loong64

wuruilong wuruilong at loongson.cn
Fri Mar 7 01:58:52 GMT 2025


Source: routino
Version: 3.4.1-1
Severity: normal
Tags: sid patch
X-Debbugs-Cc: wuruilong at loongson.cn
User: debian-loongarch at lists.debian.org
Usertags: loong64

Dear Maintainer,

Routino 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 --------------
--- routino-3.4.1.orig/Makefile.conf
+++ routino-3.4.1/Makefile.conf
@@ -190,6 +190,10 @@ ifneq ($(HOST),MINGW)
 endif
 
 # Hardening flags
+ifeq ($(DEB_HOST_ARCH), loong64)
+CFLAGS+=-g -fPIE -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security 
+else
 CFLAGS+=-g -fPIE -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
+endif
 CFLAGS+=-Wdate-time -D_FORTIFY_SOURCE=2
 LDFLAGS+=-fPIE -pie -Wl,-z,relro -Wl,-z,now



More information about the Pkg-grass-devel mailing list