diff --git a/cryptonite.cabal b/cryptonite.cabal index dcdfdf8..09e3f38 100644 --- a/cryptonite.cabal +++ b/cryptonite.cabal @@ -241,7 +241,7 @@ Library if arch(x86_64) CPP-options: -DARCH_X86_64 - if flag(support_rdrand) + if flag(support_rdrand) && (arch(i386) || arch(x86_64)) CPP-options: -DSUPPORT_RDRAND Other-modules: Crypto.Random.Entropy.RDRand c-sources: cbits/cryptonite_rdrand.c