distccMasquerade: some fixes

This commit is contained in:
Lluís Batlle i Rossell 2012-12-22 20:35:51 +01:00
parent ea5f15813c
commit d779fc2da9

View File

@ -13,8 +13,9 @@ stdenv.mkDerivation {
if [ -f $bin/gcc ]; then
ln -s $bin/gcc $out/bin
else
for a in $bin/*-g++; do
for a in $bin/*-gcc; do
ln -s $bin/*-gcc $out/bin/gcc
ln -s $bin/*-gcc $out/bin/cc
done
fi
@ -23,6 +24,7 @@ stdenv.mkDerivation {
else
for a in $bin/*-g++; do
ln -sf $bin/*-g++ $out/bin/g++
ln -sf $bin/*-g++ $out/bin/c++
done
fi
'';