summary refs log tree commit diff
path: root/pkgs/development/libraries/sonic
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-02-16 18:48:46 +0700
committerBen Siraphob <bensiraphob@gmail.com>2021-02-20 01:01:46 +0700
commit223f25cf4a2ca9e2b35801eb0c43540151df89b9 (patch)
treea43b8bfb6b924ef794f2cba0867df97f2ce1b70c /pkgs/development/libraries/sonic
parentad4db3f4d8ae54482c63c31c14921cb73953548d (diff)
downloadnixpkgs-223f25cf4a2ca9e2b35801eb0c43540151df89b9.tar
nixpkgs-223f25cf4a2ca9e2b35801eb0c43540151df89b9.tar.gz
nixpkgs-223f25cf4a2ca9e2b35801eb0c43540151df89b9.tar.bz2
nixpkgs-223f25cf4a2ca9e2b35801eb0c43540151df89b9.tar.lz
nixpkgs-223f25cf4a2ca9e2b35801eb0c43540151df89b9.tar.xz
nixpkgs-223f25cf4a2ca9e2b35801eb0c43540151df89b9.tar.zst
nixpkgs-223f25cf4a2ca9e2b35801eb0c43540151df89b9.zip
treewide: add targetPrefix to hardcoded references to CC=cc
Diffstat (limited to 'pkgs/development/libraries/sonic')
-rw-r--r--pkgs/development/libraries/sonic/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/sonic/default.nix b/pkgs/development/libraries/sonic/default.nix
index 38dcee84a92..ba3164db11a 100644
--- a/pkgs/development/libraries/sonic/default.nix
+++ b/pkgs/development/libraries/sonic/default.nix
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
     sha256 = "0ah54nizb6iwcx277w104wsfnx05vrp4sh56d2pfxhf8xghg54m6";
   };
 
-  makeFlags = [ "PREFIX=${placeholder "out"}" "CC=cc" ];
+  makeFlags = [ "PREFIX=${placeholder "out"}" "CC=${stdenv.cc.targetPrefix}cc" ];
 
   nativeBuildInputs = [ installShellFiles ];