Commit 8fc6a95b authored by Rick van Schijndel's avatar Rick van Schijndel
Browse files

dmidecode: support cross-compilation

parent ac96a27f
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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/";