diff --git a/pkgs/development/libraries/openssl/default.nix b/pkgs/development/libraries/openssl/default.nix
index 8c0ad10..2ba92f9 100644
--- a/pkgs/development/libraries/openssl/default.nix
+++ b/pkgs/development/libraries/openssl/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, perl
-, withCryptodev ? false, cryptodevHeaders }:
+, withCryptodev ? false, cryptodevHeaders, enforceArch }:
with stdenv.lib;
@@ -26,7 +26,7 @@ let
outputs = [ "dev" "out" "man" "bin" ];
setOutputFlags = false;
- nativeBuildInputs = [ perl ];
+ nativeBuildInputs = [ perl enforceArch ];
buildInputs = stdenv.lib.optional withCryptodev cryptodevHeaders;
# On x86_64-darwin, "./config" misdetects the system as