Fix support_sse on i386 architecture

On i386 compilation failed with support_sse enabled and support_aesni
disabled.  This enables the minimum required instruction set, guarded
with an architecture condition.
This commit is contained in:
Olivier Chéron 2020-03-11 19:15:32 +01:00
parent e56308f9d0
commit b9e1e75a10

View File

@ -363,6 +363,8 @@ Library
if arch(x86_64) || flag(support_sse)
CPP-options: -DSUPPORT_SSE
if arch(i386)
CC-options: -msse2
C-sources: cbits/argon2/argon2.c
include-dirs: cbits/argon2