diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-23 13:25:59 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-23 13:25:59 +0100 |
commit | f52e8c65413233069a71112606ce2f131249ca83 (patch) | |
tree | 014663193b6284071fcd03ed0aac58d261aa7fdd /src/libcryptobox/curve25519 | |
parent | c5e769ec0ce3d7347276809d79d7dcb81aae8324 (diff) | |
download | rspamd-f52e8c65413233069a71112606ce2f131249ca83.tar.gz rspamd-f52e8c65413233069a71112606ce2f131249ca83.zip |
Fix architecture detection.
Diffstat (limited to 'src/libcryptobox/curve25519')
-rw-r--r-- | src/libcryptobox/curve25519/curve25519.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcryptobox/curve25519/curve25519.c b/src/libcryptobox/curve25519/curve25519.c index 1d04b973b..34a361d60 100644 --- a/src/libcryptobox/curve25519/curve25519.c +++ b/src/libcryptobox/curve25519/curve25519.c @@ -55,7 +55,7 @@ CURVE25519_DECLARE(avx); CURVE25519_DECLARE(ref); #define CURVE25519_REF CURVE25519_IMPL(0, "ref", ref) -#if (ARCH == x86_64) || (ARCH == i386) +#if defined(CMAKE_ARCH_x86_64) || defined(CMAKE_ARCH_i386) CURVE25519_DECLARE(donna); #define CURVE25519_GENERIC CURVE25519_IMPL(0, "donna", donna) #else |