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