Decoupled -DARCH_X86_64 and support_rdrand
This commit is contained in:
parent
cf96199b30
commit
9dcef3451d
@ -238,8 +238,10 @@ Library
|
|||||||
if arch(i386)
|
if arch(i386)
|
||||||
CPP-options: -DARCH_X86
|
CPP-options: -DARCH_X86
|
||||||
|
|
||||||
if flag(support_rdrand) && arch(x86_64)
|
if arch(x86_64)
|
||||||
CPP-options: -DARCH_X86_64
|
CPP-options: -DARCH_X86_64
|
||||||
|
|
||||||
|
if flag(support_rdrand)
|
||||||
CPP-options: -DSUPPORT_RDRAND
|
CPP-options: -DSUPPORT_RDRAND
|
||||||
Other-modules: Crypto.Random.Entropy.RDRand
|
Other-modules: Crypto.Random.Entropy.RDRand
|
||||||
c-sources: cbits/cryptonite_rdrand.c
|
c-sources: cbits/cryptonite_rdrand.c
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user