[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1050764: scm: Please add support for new arch Loongarch



Package: scm
Version: 5f3-4
Severity: wishlist
Tags: patch
User: debian-devel@lists.debian.org
Usertags: loongarch64

Dear maintainers,

   When I compiled scm for loongarch architecture, it reported 
missing architecture support.
We have added loongarch architecture support for scm, the patch
can be found in the attachment.

If you have any questions, you can contact me at any time.
--- scm-5f3.orig/scmfig.h
+++ scm-5f3/scmfig.h
@@ -284,6 +284,10 @@ rgx.c	init_rgx();	regcomp and regexec. *
 # define SHORT_INT
 # define CDR_DOUBLES
 #endif
+#ifdef __loongarch__
+# define SHORT_INT
+# define CDR_DOUBLES
+#endif
 #ifdef MSDOS			/* Microsoft C 5.10 and 6.00A */
 # ifndef GO32
 #  define SHORT_INT

Reply to: