From 451d51b82060463a96c29fb4df246fb00f6d6f35 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 10 Dec 2016 14:29:22 +0000 Subject: [PATCH] [Minor] Leftover for i386 --- src/libcryptobox/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.39.5