From 223f25cf4a2ca9e2b35801eb0c43540151df89b9 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Tue, 16 Feb 2021 18:48:46 +0700 Subject: treewide: add targetPrefix to hardcoded references to CC=cc --- pkgs/applications/science/math/msieve/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/applications/science/math/msieve/default.nix') diff --git a/pkgs/applications/science/math/msieve/default.nix b/pkgs/applications/science/math/msieve/default.nix index 679b29cb062bc..588df51554ab9 100644 --- a/pkgs/applications/science/math/msieve/default.nix +++ b/pkgs/applications/science/math/msieve/default.nix @@ -13,7 +13,7 @@ stdenv.mkDerivation { ECM = if ecm == null then "0" else "1"; # Doesn't hurt Linux but lets clang-based platforms like Darwin work fine too - makeFlags = [ "CC=cc" "all" ]; + makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" "all" ]; installPhase = '' mkdir -p $out/bin/ -- cgit 1.4.1