mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 22:51:22 +00:00
distccMasquerade: some fixes
This commit is contained in:
parent
ea5f15813c
commit
d779fc2da9
@ -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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user