ccache: added symlinks for more compiler versions

Closes Homebrew/homebrew#20562.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Reed Riley 2013-06-17 12:33:27 -07:00 committed by Adam Vandenberg
parent c6392b0eab
commit 24528d594f
1 changed files with 5 additions and 3 deletions

View File

@ -22,10 +22,12 @@ class Ccache < Formula
libexec.mkpath libexec.mkpath
%w[ %w[
clang
clang++
cc cc
gcc gcc2 gcc3 gcc-3.3 gcc-4.0 gcc-4.2 gcc gcc2 gcc3 gcc-3.3 gcc-4.0 gcc-4.2 gcc-4.3 gcc-4.4 gcc-4.5 gcc-4.6 gcc-4.7 gcc-4.8 gcc-4.9
c++ c++3 c++-3.3 c++-4.0 c++-4.2 c++ c++3 c++-3.3 c++-4.0 c++-4.2 c++-4.3 c++-4.4 c++-4.5 c++-4.6 c++-4.7 c++-4.8 c++-4.9
g++ g++2 g++3 g++-3.3 g++-4.0 g++-4.2 g++ g++2 g++3 g++-3.3 g++-4.0 g++-4.2 g++-4.3 g++-4.4 g++-4.5 g++-4.6 g++-4.7 g++-4.8 g++-4.9
].each do |prog| ].each do |prog|
ln_s bin+"ccache", libexec + prog ln_s bin+"ccache", libexec + prog
end end