mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
cpupower: explicitly set CC and LD to allow compilation with e… (#74810)
cpupower: explicitly set CC and LD to allow compilation with e.g. clang
This commit is contained in:
commit
2e64e975bb
@ -14,7 +14,11 @@ stdenv.mkDerivation {
|
||||
sed -i 's,/usr/bin/install,${buildPackages.coreutils}/bin/install,' Makefile
|
||||
'';
|
||||
|
||||
makeFlags = [ "CROSS=${stdenv.cc.targetPrefix}" ];
|
||||
makeFlags = [
|
||||
"CROSS=${stdenv.cc.targetPrefix}"
|
||||
"CC=${stdenv.cc.targetPrefix}cc"
|
||||
"LD=${stdenv.cc.targetPrefix}cc"
|
||||
];
|
||||
|
||||
installFlags = stdenv.lib.mapAttrsToList
|
||||
(n: v: "${n}dir=${placeholder "out"}/${v}") {
|
||||
|
Loading…
Reference in New Issue
Block a user