dmidecode: support cross-compilation
This commit is contained in:
parent
ac96a27f7a
commit
8fc6a95bff
1 changed files with 4 additions and 1 deletions
|
@ -53,7 +53,10 @@ stdenv.mkDerivation rec {
|
|||
})
|
||||
];
|
||||
|
||||
makeFlags = [ "prefix=$(out)" ];
|
||||
makeFlags = [
|
||||
"prefix=$(out)"
|
||||
"CC=${stdenv.cc.targetPrefix}cc"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.nongnu.org/dmidecode/";
|
||||
|
|
Loading…
Reference in a new issue