Unverified Commit bab30c06 authored by Daniel Nagy's avatar Daniel Nagy
Browse files

dumptorrent: support cross compilation

parent 7e88a3fc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -9,9 +9,9 @@ stdenv.mkDerivation rec {
      sha256 = "073h03bmpfdy15qh37lvppayld2747i4acpyk0pm5nf2raiak0zm";
    };

    patchPhase = ''
    postPatch = ''
      substituteInPlace Makefile \
        --replace "gcc" "cc"
        --replace "gcc" "$CC"
    '';

    installPhase = ''