aboutsummaryrefslogtreecommitdiffstats
path: root/Library/ENV
diff options
context:
space:
mode:
Diffstat (limited to 'Library/ENV')
-rwxr-xr-xLibrary/ENV/4.3/cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc
index 835079617..8075017d8 100755
--- a/Library/ENV/4.3/cc
+++ b/Library/ENV/4.3/cc
@@ -68,10 +68,8 @@ class Cmd
'clang++'
when /llvm-gcc/
'llvm-g++-4.2'
- when /gcc(-4.2)?$/
- 'g++-4.2'
- when /gcc-4.0/
- 'g++-4.0'
+ when /gcc(-\d\.\d)?$/
+ 'g++' + $1.to_s
end
else
@arg0