Module: kamailio Branch: master Commit: b08e92c07deb69b155c7a6b6ea6259d8485206c5 URL: https://github.com/kamailio/kamailio/commit/b08e92c07deb69b155c7a6b6ea6259d8485206c5
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2026-01-30T09:04:55+01:00 cmake: match clang and appleclang for aarch64 --- Modified: cmake/compiler-specific.cmake --- Diff: https://github.com/kamailio/kamailio/commit/b08e92c07deb69b155c7a6b6ea6259d8485206c5.diff Patch: https://github.com/kamailio/kamailio/commit/b08e92c07deb69b155c7a6b6ea6259d8485206c5.patch --- diff --git a/cmake/compiler-specific.cmake b/cmake/compiler-specific.cmake index 2b41cd15418..c9addf33f2c 100644 --- a/cmake/compiler-specific.cmake +++ b/cmake/compiler-specific.cmake @@ -119,6 +119,10 @@ elseif(TARGET_ARCH MATCHES "aarch64") # if(CMAKE_C_COMPILER_VERSION VERSION_GREATER 4.2.0) target_compile_options( # common INTERFACE -ftree-vectorize -fno-strict-overflow ) endif() + elseif(CMAKE_C_COMPILER_ID STREQUAL "Clang") + target_compile_definitions(common_compiler_flags INTERFACE CC_GCC_LIKE_ASM) + elseif(CMAKE_C_COMPILER_ID STREQUAL "AppleClang") + target_compile_definitions(common_compiler_flags INTERFACE CC_GCC_LIKE_ASM) endif() elseif(TARGET_ARCH MATCHES "ppc64$") _______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
