1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-23 20:15:19 -07:00

Don't generate SSE2 code if that instruction set hasn't been enabled

This commit is contained in:
Frank Denis 2017-09-17 18:23:31 +02:00
parent 09fd953fce
commit a029b352af

View File

@ -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")