diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-02-16 18:48:46 +0700 |
---|---|---|
committer | Ben Siraphob <bensiraphob@gmail.com> | 2021-02-20 01:01:46 +0700 |
commit | 223f25cf4a2ca9e2b35801eb0c43540151df89b9 (patch) | |
tree | a43b8bfb6b924ef794f2cba0867df97f2ce1b70c /pkgs/games/crawl | |
parent | ad4db3f4d8ae54482c63c31c14921cb73953548d (diff) |
treewide: add targetPrefix to hardcoded references to CC=cc
Diffstat (limited to 'pkgs/games/crawl')
-rw-r--r-- | pkgs/games/crawl/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/crawl/default.nix b/pkgs/games/crawl/default.nix index 7b644aa71476..042ad950eee4 100644 --- a/pkgs/games/crawl/default.nix +++ b/pkgs/games/crawl/default.nix @@ -44,7 +44,7 @@ stdenv.mkDerivation rec { fontsPath = lib.optionalString tileMode dejavu_fonts; - makeFlags = [ "prefix=${placeholder "out"}" "FORCE_CC=cc" "FORCE_CXX=c++" "HOSTCXX=c++" + makeFlags = [ "prefix=${placeholder "out"}" "FORCE_CC=${stdenv.cc.targetPrefix}cc" "FORCE_CXX=${stdenv.cc.targetPrefix}c++" "HOSTCXX=${stdenv.cc.targetPrefix}c++" "FORCE_PKGCONFIG=y" "SAVEDIR=~/.crawl" "sqlite=${sqlite.dev}" "DATADIR=${placeholder "out"}" |