From 6d8647fd36137dc269557af3545ab2a54b569aa0 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Fri, 21 Sep 2018 06:42:46 -0500 Subject: [PATCH] netbsd: set HOST_CC/HOST_CXX -- maybe help aarch64 defaulting to clang --- pkgs/os-specific/bsd/netbsd/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/os-specific/bsd/netbsd/default.nix b/pkgs/os-specific/bsd/netbsd/default.nix index d93e9fb75147..3e1d1f01aa0d 100644 --- a/pkgs/os-specific/bsd/netbsd/default.nix +++ b/pkgs/os-specific/bsd/netbsd/default.nix @@ -40,6 +40,9 @@ let INSTALL_LINK = "install -U -l h"; INSTALL_SYMLINK = "install -U -l s"; + HOST_CC = "${buildPackages.stdenv.cc}/bin/${buildPackages.stdenv.cc.targetPrefix}cc"; + HOST_CXX = "${buildPackages.stdenv.cc}/bin/${buildPackages.stdenv.cc.targetPrefix}c++"; + # libs will be provided by cc-wrapper LIBCRT0 = ""; LIBCRTI = "";