From: Vsevolod Stakhov Date: Fri, 6 Jun 2025 12:33:07 +0000 (+0100) Subject: [Minor] Always disable xxhash inline X-Git-Tag: 3.12.0~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0972d849d1179bde4475558f061d326dd2d5e291;p=thirdparty%2Frspamd.git [Minor] Always disable xxhash inline --- diff --git a/contrib/xxhash/CMakeLists.txt b/contrib/xxhash/CMakeLists.txt index 5091d261d7..41985724f2 100644 --- a/contrib/xxhash/CMakeLists.txt +++ b/contrib/xxhash/CMakeLists.txt @@ -6,8 +6,6 @@ IF (ENABLE_FULL_DEBUG MATCHES "OFF") if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU") SET_TARGET_PROPERTIES(rspamd-xxhash PROPERTIES COMPILE_FLAGS "-O3") endif () -else () - ADD_DEFINITIONS(-DXXH_NO_INLINE_HINTS=1) ENDIF () - +ADD_DEFINITIONS(-DXXH_NO_INLINE_HINTS=1) set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DXXH_NO_INLINE_HINTS=1" PARENT_SCOPE)