Subject: [bug#75051] [PATCH v2 02/15] gnu: glibc-dynamic-linker: Add loongarch64-linux support.

From: Zheng Junjie <[email-masked]>
Date: Sat, 25 Jan 2025 00:39:00 +0800

* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add loongarch64-linux
case.

Change-Id: I57bb3d34aec82e12de75913c53bf70fc83137404
---
 gnu/packages/bootstrap.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm
index db20e71fe0c..79ef8a5f412 100644
--- a/gnu/packages/bootstrap.scm
+++ b/gnu/packages/bootstrap.scm
@@ -333,6 +333,10 @@ (define* (glibc-dynamic-linker
      ((string=? system "powerpc64-linux") "/lib/ld64.so.1")
      ((string=? system "alpha-linux") "/lib/ld-linux.so.2")
 
+     ;; TODO: Remove it when we support native loongarch64 build.
+     ((string=? system "loongarch64-linux")
+      "/lib/ld-linux-loongarch-lp64d.so.1")
+
      ;; TODO: Differentiate between x86_64-linux-gnu and x86_64-linux-gnux32.
      ((string=? system "x86_64-linux-gnux32") "/lib/ld-linux-x32.so.2")
 
-- 
2.47.1