commit 9f3b009: [Minor] Add -m64 option

Vsevolod Stakhov vsevolod at highsecure.ru
Fri May 21 15:35:09 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-05-21 14:21:55 +0100
URL: https://github.com/rspamd/rspamd/commit/9f3b009464f883f70e7faf67ade43c6579951e95

[Minor] Add -m64 option

---
 cmake/ArchDep.cmake | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmake/ArchDep.cmake b/cmake/ArchDep.cmake
index 7b9a84491..71f2422ca 100644
--- a/cmake/ArchDep.cmake
+++ b/cmake/ArchDep.cmake
@@ -93,6 +93,7 @@ IF ("${ARCH}" STREQUAL "x86_64")
     MESSAGE(STATUS "Enable sse2 on x86_64 architecture")
     IF((CMAKE_C_COMPILER_ID MATCHES "GNU") OR (CMAKE_C_COMPILER_ID MATCHES "Clang"))
         ADD_COMPILE_OPTIONS(-msse2)
+        ADD_COMPILE_OPTIONS(-m64)
     ELSEIF(CMAKE_C_COMPILER_ID MATCHES "Intel")
         ADD_COMPILE_OPTIONS(/QxSSE2)
     ELSEIF((CMAKE_C_COMPILER_ID MATCHES "MSVC"))


More information about the Commits mailing list