bsdiff: fix 'cc' usage

This commit is contained in:
Will Dietz 2018-01-04 13:15:35 -06:00 committed by John Ericson
parent a23be78ef2
commit 7c992cb7af

View File

@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
patches = [ ./include-systypes.patch ];
buildPhase = ''
cc -O3 -lbz2 bspatch.c -o bspatch
cc -O3 -lbz2 bsdiff.c -o bsdiff
$CC -O3 -lbz2 bspatch.c -o bspatch
$CC -O3 -lbz2 bsdiff.c -o bsdiff
'';
installPhase = ''