dmidecode: support cross-compilation

This commit is contained in:
Rick van Schijndel 2021-07-29 20:50:58 +02:00
parent ac96a27f7a
commit 8fc6a95bff

View file

@ -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/";