diff options
author | Ben Gamari <ben@smart-cactus.org> | 2017-12-10 01:36:44 -0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-01-24 09:33:36 -0600 |
commit | a0410d92268ef4c10561739b173e7bb91d832dbd (patch) | |
tree | 413a98922e156bf8127e42b00904d0b5a399e84f /pkgs/tools/security/rhash | |
parent | 05096950505be8ba62cbf8bceda7c635cb11cf40 (diff) |
rhash: Enable cross-compilation
(cherry picked from commit 07f1d9eae440b3533ab53f424b31e541116e5623)
Diffstat (limited to 'pkgs/tools/security/rhash')
-rw-r--r-- | pkgs/tools/security/rhash/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/security/rhash/default.nix b/pkgs/tools/security/rhash/default.nix index e33c680b45782..68c3edc4cd254 100644 --- a/pkgs/tools/security/rhash/default.nix +++ b/pkgs/tools/security/rhash/default.nix @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { # * .h files installed for static library target only # * .so.0 -> .so link only created in the static library install target buildPhase = '' - make lib-shared lib-static build-shared CC=cc PREFIX=$out + make lib-shared lib-static build-shared CC=$CC AR=$AR PREFIX=$out ''; # we don't actually want the static library, so we remove it after it |