add proper cpp defines for architecture instead of using the usual system one
This commit is contained in:
parent
9c1d9695c5
commit
b39283f5f9
@ -169,7 +169,11 @@ Library
|
|||||||
if (arch(i386) || arch(x86_64))
|
if (arch(i386) || arch(x86_64))
|
||||||
CPP-options: -DARCH_IS_LITTLE_ENDIAN
|
CPP-options: -DARCH_IS_LITTLE_ENDIAN
|
||||||
|
|
||||||
|
if arch(i386)
|
||||||
|
CPP-options: -DARCH_X86
|
||||||
|
|
||||||
if arch(x86_64)
|
if arch(x86_64)
|
||||||
|
CPP-options: -DARCH_X86_64
|
||||||
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