aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorwuruilong <wuruilong@loongson.cn>2023-11-16 07:25:40 +0000
committerwuruilong <wuruilong@loongson.cn>2023-11-16 07:25:40 +0000
commit0880967e05cc8d3c4b9e52073f8fb453c13ae22c (patch)
treeb4797f9899670031d57343d22c56f73325058c5b /cmake
parentdfd698fe1c9c5fd32155c78d6f9e95526fe06999 (diff)
downloadrspamd-0880967e05cc8d3c4b9e52073f8fb453c13ae22c.tar.gz
rspamd-0880967e05cc8d3c4b9e52073f8fb453c13ae22c.zip
Add support for loongarch
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindArch.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/FindArch.cmake b/cmake/FindArch.cmake
index d1defc82b..e17220737 100644
--- a/cmake/FindArch.cmake
+++ b/cmake/FindArch.cmake
@@ -35,6 +35,8 @@ set(archdetect_c_code "
#else
#error cmake_ARCH ppc
#endif
+#elif defined(__loongarch__) || defined(__loongarch64)
+ #error cmake_ARCH loongarch64
#endif
#error cmake_ARCH unknown