diff --git a/cryptonite.cabal b/cryptonite.cabal index 7571d05..9d5a343 100644 --- a/cryptonite.cabal +++ b/cryptonite.cabal @@ -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