Decoupled -DARCH_X86_64 and support_rdrand

This commit is contained in:
John Galt 2016-04-21 10:45:23 -07:00
parent cf96199b30
commit 9dcef3451d

View File

@ -238,8 +238,10 @@ Library
if arch(i386)
CPP-options: -DARCH_X86
if flag(support_rdrand) && arch(x86_64)
CPP-options: -DARCH_X86_64
if arch(x86_64)
CPP-options: -DARCH_X86_64
if flag(support_rdrand)
CPP-options: -DSUPPORT_RDRAND
Other-modules: Crypto.Random.Entropy.RDRand
c-sources: cbits/cryptonite_rdrand.c