Module: kamailio Branch: master Commit: 9857ba8236aafc3beab0723f8836afcb95f6b580 URL: https://github.com/kamailio/kamailio/commit/9857ba8236aafc3beab0723f8836afcb...
Author: Xenofon Karamanos xk@gilawa.com Committer: Xenofon Karamanos xk@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/9857ba8236aafc3beab0723f8836afcb... Patch: https://github.com/kamailio/kamailio/commit/9857ba8236aafc3beab0723f8836afcb...
---
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