aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2024-07-16 18:30:56 -0400
committerluigi1111 <luigi1111w@gmail.com>2024-07-16 18:30:56 -0400
commit38067711e2d068b6c62dd1a54145346a28feb0a5 (patch)
tree80a26581ada5eb6ddb8f7fd1c691329b0ea46ce0 /contrib
parentMerge pull request #8619 (diff)
parentAdd support for Loongarch (diff)
downloadmonero-38067711e2d068b6c62dd1a54145346a28feb0a5.tar.xz
Merge pull request #9114
88d074c Add support for Loongarch (YalingFang)
Diffstat (limited to 'contrib')
-rw-r--r--contrib/depends/packages/openssl.mk1
-rw-r--r--contrib/depends/toolchain.cmake.in4
2 files changed, 5 insertions, 0 deletions
diff --git a/contrib/depends/packages/openssl.mk b/contrib/depends/packages/openssl.mk
index a9734029d..8c9727fa7 100644
--- a/contrib/depends/packages/openssl.mk
+++ b/contrib/depends/packages/openssl.mk
@@ -41,6 +41,7 @@ $(package)_config_opts_arm_android=--static android-arm
$(package)_config_opts_aarch64_android=--static android-arm64
$(package)_config_opts_aarch64_darwin=darwin64-arm64-cc
$(package)_config_opts_riscv64_linux=linux-generic64
+$(package)_config_opts_loongarch64_linux=linux-generic64
$(package)_config_opts_mipsel_linux=linux-generic32
$(package)_config_opts_mips_linux=linux-generic32
$(package)_config_opts_powerpc_linux=linux-generic32
diff --git a/contrib/depends/toolchain.cmake.in b/contrib/depends/toolchain.cmake.in
index fc502c596..50eaaa593 100644
--- a/contrib/depends/toolchain.cmake.in
+++ b/contrib/depends/toolchain.cmake.in
@@ -147,6 +147,10 @@ if(ARCHITECTURE STREQUAL "riscv64")
set(ARCH_ID "riscv64")
set(ARCH "rv64gc")
endif()
+if(ARCHITECTURE STREQUAL "loongarch64")
+ set(ARCH_ID "loongarch64")
+ set(ARCH "loongarch")
+endif()
if(ARCHITECTURE STREQUAL "i686")
SET(ARCH_ID "i386")