summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-05-21 14:21:55 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-05-21 14:21:55 +0100
commit9f3b009464f883f70e7faf67ade43c6579951e95 (patch)
treebbbbda7aa9b1df0c30458c1d4aec6526d4669029 /cmake
parenta9dcbc77d64c9fde94abe0fc66d80fd324feb720 (diff)
downloadrspamd-9f3b009464f883f70e7faf67ade43c6579951e95.tar.gz
rspamd-9f3b009464f883f70e7faf67ade43c6579951e95.zip
[Minor] Add -m64 option
Diffstat (limited to 'cmake')
-rw-r--r--cmake/ArchDep.cmake1
1 files changed, 1 insertions, 0 deletions
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"))