aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-10-22 19:55:14 +0100
committerGitHub <noreply@github.com>2021-10-22 19:55:14 +0100
commit4bb39dc34035b847b072e0235fabd7004c6b7a7b (patch)
treecd8b649f73f5f30ec9a92cd693c759574d082814
parenta8e0f75aa6df80fd27ea25f40307f3892a991c8f (diff)
parent0d12bff1becdc78bbeacb61643eb9b722b6d394e (diff)
downloadrspamd-4bb39dc34035b847b072e0235fabd7004c6b7a7b.tar.gz
rspamd-4bb39dc34035b847b072e0235fabd7004c6b7a7b.zip
Merge pull request #3934 from xtkoba/ArchDep-i386
Support i386 with optimizations
-rw-r--r--cmake/ArchDep.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/ArchDep.cmake b/cmake/ArchDep.cmake
index 71f2422ca..8271709b6 100644
--- a/cmake/ArchDep.cmake
+++ b/cmake/ArchDep.cmake
@@ -16,8 +16,8 @@ SET(ASM_CODE "
")
ASM_OP(HAVE_DOLLARMACRO "dollar macro convention")
-# For now we support only x86_64 architecture with optimizations
-IF("${ARCH}" STREQUAL "x86_64")
+# For now we support only x86_64/i386 architecture with optimizations
+IF("${ARCH}" STREQUAL "x86_64" OR "${ARCH}" STREQUAL "i386")
IF(NOT HAVE_SLASHMACRO AND NOT HAVE_DOLLARMACRO)
MESSAGE(FATAL_ERROR "Your assembler cannot compile macros, please check your CMakeFiles/CMakeError.log")
ENDIF()
@@ -99,4 +99,4 @@ IF ("${ARCH}" STREQUAL "x86_64")
ELSEIF((CMAKE_C_COMPILER_ID MATCHES "MSVC"))
ADD_COMPILE_OPTIONS(/arch:SSE2)
ENDIF()
-ENDIF() \ No newline at end of file
+ENDIF()