treewide: add targetPrefix to hardcoded references to CC=cc
This commit is contained in:
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
mv config.mk.template config.mk
|
||||
'';
|
||||
|
||||
makeFlags = lib.optionals stdenv.isDarwin [ "CC=cc" ];
|
||||
makeFlags = lib.optionals stdenv.isDarwin [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
||||
|
||||
installPhase = ''
|
||||
install -D hactool $out/bin/hactool
|
||||
|
||||
Reference in New Issue
Block a user