Merge pull request #9039 from Bevaz/ccache-links
ccache: create symlinks to gcc utils in ccache-links bin directory
This commit is contained in:
commit
bba10d8be4
1 changed files with 5 additions and 0 deletions
|
@ -42,6 +42,11 @@ stdenv.mkDerivation {
|
|||
EOF
|
||||
chmod +x $out/bin/g++
|
||||
fi
|
||||
for executable in $(ls ${gcc.cc}/bin); do
|
||||
if [ ! -x "$out/bin/$executable" ]; then
|
||||
ln -s ${gcc.cc}/bin/$executable $out/bin/$executable
|
||||
fi
|
||||
done
|
||||
'');
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue