From a029b352afcf1f5207b6546d3cd80a8919d9de71 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 17 Sep 2017 18:23:31 +0200 Subject: [PATCH] Don't generate SSE2 code if that instruction set hasn't been enabled --- src/libsodium/crypto_verify/sodium/verify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsodium/crypto_verify/sodium/verify.c b/src/libsodium/crypto_verify/sodium/verify.c index fc0d30ad..ffebf220 100644 --- a/src/libsodium/crypto_verify/sodium/verify.c +++ b/src/libsodium/crypto_verify/sodium/verify.c @@ -24,7 +24,7 @@ crypto_verify_64_bytes(void) return crypto_verify_64_BYTES; } -#ifdef HAVE_EMMINTRIN_H +#if defined(HAVE_EMMINTRIN_H) && defined(__SSE2__) # ifdef __GNUC__ # pragma GCC target("sse2")