Module: kamailio
Branch: master
Commit: 053eb87f5338b0fc94dcb3e0d6b4c7416c854140
URL: 
https://github.com/kamailio/kamailio/commit/053eb87f5338b0fc94dcb3e0d6b4c7416c854140

Author: Xenofon Karamanos <x...@gilawa.com>
Committer: Xenofon Karamanos <x...@gilawa.com>
Date: 2025-07-24T13:11:45Z

cmake: Fix condition for fast_lock on unknown archs

---

Modified: cmake/defs.cmake

---

Diff:  
https://github.com/kamailio/kamailio/commit/053eb87f5338b0fc94dcb3e0d6b4c7416c854140.diff
Patch: 
https://github.com/kamailio/kamailio/commit/053eb87f5338b0fc94dcb3e0d6b4c7416c854140.patch

---

diff --git a/cmake/defs.cmake b/cmake/defs.cmake
index d186974e2e4..c2c56519233 100644
--- a/cmake/defs.cmake
+++ b/cmake/defs.cmake
@@ -174,14 +174,14 @@ if(USE_FAST_LOCK)
     set(USE_FAST_LOCK NO)
     target_compile_definitions(common INTERFACE MIPS_HAS_LLSC) # likely
     target_compile_definitions(common INTERFACE NOSMP) # very likely
-  elseif()
+  else()
     message(STATUS "Fast locking not available for this platform, disabling 
USE_FAST_LOCK")
     set(USE_FAST_LOCK NO)
   endif()
 endif()
 
 # Add definitions if USE_FAST_LOCK is YES
-message(STATUS "Fast lock available: ${USE_FAST_LOCK}")
+message(STATUS "Fast lock available: USE_FAST_LOCK=${USE_FAST_LOCK}")
 if(USE_FAST_LOCK)
   # If fast lock is available, add the definitions for it, else each OS will
   # have its own locking method

_______________________________________________
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