diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-10 14:29:22 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-10 14:29:22 +0000 |
commit | 4e5fae43635e824e1b48f10af0bea7dccee0412d (patch) | |
tree | acf9fddcf5858099fdc4b7dd15e0a67f49c33435 /src/libcryptobox | |
parent | 0c7d5f32de56ee254c4b1abc63e7c3709afd1cb2 (diff) | |
download | rspamd-4e5fae43635e824e1b48f10af0bea7dccee0412d.tar.gz rspamd-4e5fae43635e824e1b48f10af0bea7dccee0412d.zip |
[Minor] Leftover for i386
Diffstat (limited to 'src/libcryptobox')
-rw-r--r-- | src/libcryptobox/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libcryptobox/CMakeLists.txt b/src/libcryptobox/CMakeLists.txt index 0ca8a2fdd..aef9c9dbd 100644 --- a/src/libcryptobox/CMakeLists.txt +++ b/src/libcryptobox/CMakeLists.txt @@ -61,6 +61,9 @@ IF("${ARCH}" STREQUAL "x86_64") SET(BLAKE2SRC ${BLAKE2SRC} ${CMAKE_CURRENT_SOURCE_DIR}/blake2/x86-64.S) ELSEIF("${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() SET(POLYSRC ${POLYSRC} ${CMAKE_CURRENT_SOURCE_DIR}/poly1305/ref-32.c) SET(CURVESRC ${CURVESRC} ${CMAKE_CURRENT_SOURCE_DIR}/curve25519/curve25519-donna.c) SET(BLAKE2SRC ${BLAKE2SRC} ${CMAKE_CURRENT_SOURCE_DIR}/blake2/x86-32.S) |