This is a multi-part MIME message sent by reportbug.
Source: routino
Version: 3.4.1-1
Severity: normal
Tags: sid patch
X-Debbugs-Cc:
wuruilong@loongson.cn
User:
debian-loongarch@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
--- 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
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)