Module: kamailio
Branch: master
Commit: 70ee233bf9a0cdf88be23d5e58e5df47f09926f2
URL: 
https://github.com/kamailio/kamailio/commit/70ee233bf9a0cdf88be23d5e58e5df47f09926f2

Author: Xenofon Karamanos <x...@gilawa.com>
Committer: Xenofon Karamanos <x...@gilawa.com>
Date: 2025-08-26T11:18:00Z

cmake: Detect armv8 and armv7 as arm

- for compatibility reasons for make

---

Modified: cmake/defs.cmake

---

Diff:  
https://github.com/kamailio/kamailio/commit/70ee233bf9a0cdf88be23d5e58e5df47f09926f2.diff
Patch: 
https://github.com/kamailio/kamailio/commit/70ee233bf9a0cdf88be23d5e58e5df47f09926f2.patch

---

diff --git a/cmake/defs.cmake b/cmake/defs.cmake
index d85723f9c97..69a8a27cc61 100644
--- a/cmake/defs.cmake
+++ b/cmake/defs.cmake
@@ -37,7 +37,11 @@ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "armv8|armv7")
   # armv8 is the 64-bit ARM architecture, uname -a will report it as aarch64 
probably
   # if not retarget it to arm7
   # arm8 not supported yet from core atomic operations, fallback to arm7
-  set(TARGET_ARCH "arm7")
+
+  # *** TODO: NOTE***
+  # Old Makefile detected armv7 as an arm, for compatibility reasons we apply 
this as well.
+  # See 
https://github.com/kamailio/kamailio/issues/4333#issuecomment-3210890740
+  set(TARGET_ARCH "arm")
 elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "armv6")
   set(TARGET_ARCH "arm6")
   # Other older arm arch versions shall report as arm to kamailio

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to