summaryrefslogtreecommitdiff
path: root/src/basic/architecture.h
diff options
context:
space:
mode:
authorXiaotian Wu <wuxiaotian@loongson.cn>2022-03-08 11:15:25 +0800
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-03-30 15:44:03 +0200
commita4a2077df5f20cbe80a41b6a93a125f66b494bda (patch)
tree7d112271b5b8cdcf769ca228e2df4f9c85c84cb5 /src/basic/architecture.h
parente61bab2b55ba1c4ab8fa4532edcd07b5a5406505 (diff)
downloadsystemd-a4a2077df5f20cbe80a41b6a93a125f66b494bda.tar.gz
basic: update the Arch tuples for LoongArch
After this commit[1], LoongArch now uses these Multiarch specs: - Double float: loongarch64-linux-gnu - Single float: loongarch64-linux-gnuf32 - Soft float: loongarch64-linux-gnusf You can visit here[2] to view the full documentation. [1]: https://github.com/loongson/LoongArch-Documentation/commit/55dbaadaaa90b5f5d08a74d96b866af42c8c3c82 [2]: https://loongson.github.io/LoongArch-Documentation/LoongArch-toolchain-conventions-EN.html
Diffstat (limited to 'src/basic/architecture.h')
-rw-r--r--src/basic/architecture.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/architecture.h b/src/basic/architecture.h
index 096526a857..788f3abc37 100644
--- a/src/basic/architecture.h
+++ b/src/basic/architecture.h
@@ -197,10 +197,10 @@ Architecture uname_architecture(void);
# elif defined(__SH4A__)
# define LIB_ARCH_TUPLE "sh4a-linux-gnu"
# endif
-#elif defined(__loongarch64)
+#elif defined(__loongarch_lp64)
# define native_architecture() ARCHITECTURE_LOONGARCH64
# if defined(__loongarch_double_float)
-# define LIB_ARCH_TUPLE "loongarch64-linux-gnuf64"
+# define LIB_ARCH_TUPLE "loongarch64-linux-gnu"
# elif defined(__loongarch_single_float)
# define LIB_ARCH_TUPLE "loongarch64-linux-gnuf32"
# elif defined(__loongarch_soft_float)