diff --git a/src/libsodium/Makefile.am b/src/libsodium/Makefile.am index 201c0bd3..be775006 100644 --- a/src/libsodium/Makefile.am +++ b/src/libsodium/Makefile.am @@ -273,7 +273,7 @@ noinst_LTLIBRARIES = libaesni.la libsse2.la libaesni_la_LDFLAGS = $(libsodium_la_LDFLAGS) libaesni_la_CPPFLAGS = $(libsodium_la_CPPFLAGS) \ - @CFLAGS_SSE4_1@ @CFLAGS_AESNI@ @CFLAGS_PCLMUL@ + @CFLAGS_SSSE3@ @CFLAGS_SSE4_1@ @CFLAGS_AESNI@ @CFLAGS_PCLMUL@ libaesni_la_SOURCES = \ crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c diff --git a/src/libsodium/crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c b/src/libsodium/crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c index 5cb17fbc..05b49459 100644 --- a/src/libsodium/crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c +++ b/src/libsodium/crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c @@ -13,6 +13,7 @@ #ifdef HAVE_WMMINTRIN_H +#pragma GCC target("ssse3") #pragma GCC target("sse4.1") #pragma GCC target("aes") #pragma GCC target("pclmul")