diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-28 18:14:16 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-28 18:14:16 +0000 |
commit | db68f055ebdcf221dce13dd10dfff1d881023f84 (patch) | |
tree | fd61dbd67a5756f26ec96e9514acd6ea64e0e8d3 /src | |
parent | c5b5a5fe018c50772f48955a32cca5168faee809 (diff) | |
download | rspamd-db68f055ebdcf221dce13dd10dfff1d881023f84.tar.gz rspamd-db68f055ebdcf221dce13dd10dfff1d881023f84.zip |
[Minor] Refuse to build with broken assembler
Diffstat (limited to 'src')
-rw-r--r-- | src/libcryptobox/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libcryptobox/CMakeLists.txt b/src/libcryptobox/CMakeLists.txt index 89b42b726..637bfded9 100644 --- a/src/libcryptobox/CMakeLists.txt +++ b/src/libcryptobox/CMakeLists.txt @@ -32,6 +32,10 @@ SET(ASM_CODE " ") ASM_OP(HAVE_DOLLARMACRO "dollar macro convention") +IF(NOT HAVE_SLASHMACRO AND NOT HAVE_DOLLARMACRO) + MESSAGE(FATAL_ERROR "Your assembler cannot compile macros, please check your CMakeFiles/CMakeError.log") +ENDIF() + # For now we support only x86_64 architecture with optimizations IF("${ARCH}" STREQUAL "x86_64") SET(ASM_CODE "vpaddq %ymm0, %ymm0, %ymm0") |