From 32aec08dbfe04de101ed7292a5ec2aa385cfb990 Mon Sep 17 00:00:00 2001 From: Vincent Hanquez Date: Mon, 13 Jun 2016 05:51:49 +0100 Subject: [PATCH] [rdrand] limit to i686 and x86_64 --- cryptonite.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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