dumptorrent: support cross compilation

This commit is contained in:
Daniel Nagy
2023-05-15 22:45:00 +02:00
parent 7e88a3fc28
commit bab30c06f1
+2 -2
View File
@@ -9,9 +9,9 @@ stdenv.mkDerivation rec {
sha256 = "073h03bmpfdy15qh37lvppayld2747i4acpyk0pm5nf2raiak0zm";
};
patchPhase = ''
postPatch = ''
substituteInPlace Makefile \
--replace "gcc" "cc"
--replace "gcc" "$CC"
'';
installPhase = ''