1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 11:15:13 +03:00
aports/testing/opentelemetry-cpp/add-loongarch64-support.patch
yzewei ad337509e6 testing/opentelemetry-cpp: fix build on loongarch64
Signed-off-by: yzewei <yangzewei@loongson.cn>
2024-06-18 20:56:46 +00:00

13 lines
392 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index dcf1034..719e6b0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -72,6 +72,8 @@ else()
set(ARCH s390x)
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(sparc.*|SPARC.*)")
set(ARCH sparc)
+ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(loongarch64.*|LOONGARCH64.*)")
+ set(ARCH loongarch64)
else()
message(
FATAL_ERROR