diff options
author | dramforever <dramforever@live.com> | 2021-03-12 11:32:46 +0800 |
---|---|---|
committer | dramforever <dramforever@live.com> | 2021-03-12 22:05:16 +0800 |
commit | 416adcf85b65385c93e7b95f0aa33c0181e0a897 (patch) | |
tree | 1914a3e4f7ac89f21f20d05a49c48af4854fcad8 /pkgs/tools | |
parent | 1394179695481d6fd6613fc4847646e515de9266 (diff) |
radvd: Add AR to makeFlags for cross-compiling
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/networking/radvd/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/networking/radvd/default.nix b/pkgs/tools/networking/radvd/default.nix index ddd196ebe5673..de8b9a0a4f1e9 100644 --- a/pkgs/tools/networking/radvd/default.nix +++ b/pkgs/tools/networking/radvd/default.nix @@ -12,6 +12,11 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config bison flex check ]; buildInputs = [ libdaemon ]; + # Needed for cross-compilation + makeFlags = [ + "AR=${stdenv.cc.targetPrefix}ar" + ]; + meta = with lib; { homepage = "http://www.litech.org/radvd/"; description = "IPv6 Router Advertisement Daemon"; |