]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Add -m64 option
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 21 May 2021 13:21:55 +0000 (14:21 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 21 May 2021 13:21:55 +0000 (14:21 +0100)
cmake/ArchDep.cmake

index 7b9a84491ffcbec20831f7f54e537c7dbdaa12e2..71f2422cac6bc88d3988ae5aa7be3e2ef1577393 100644 (file)
@@ -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"))