Module: kamailio
Branch: master
Commit: 9857ba8236aafc3beab0723f8836afcb95f6b580
URL: 
https://github.com/kamailio/kamailio/commit/9857ba8236aafc3beab0723f8836afcb95f6b580

Author: Xenofon Karamanos <x...@gilawa.com>
Committer: Xenofon Karamanos <x...@gilawa.com>
Date: 2024-12-24T12:05:49Z

cmake: remove redundant default optimization level (2nd fix)

- user can prepend compiler options with CFLAGS="-g -O2" cmake ...

---

Modified: cmake/compiler-specific.cmake

---

Diff:  
https://github.com/kamailio/kamailio/commit/9857ba8236aafc3beab0723f8836afcb95f6b580.diff
Patch: 
https://github.com/kamailio/kamailio/commit/9857ba8236aafc3beab0723f8836afcb95f6b580.patch

---

diff --git a/cmake/compiler-specific.cmake b/cmake/compiler-specific.cmake
index e0d15601bf5..7ecd87b75ad 100644
--- a/cmake/compiler-specific.cmake
+++ b/cmake/compiler-specific.cmake
@@ -37,11 +37,6 @@ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "i386|i486|i586|i686")
   if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
     target_compile_definitions(common INTERFACE CC_GCC_LIKE_ASM)
 
-    target_compile_options(
-      common INTERFACE -O0
-                       # <$<$<BOOL:${PROFILE}>:-pg>
-    )
-
     target_compile_options(
       common
       INTERFACE -Wall -funroll-loops -Wcast-align

_______________________________________________
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