aboutsummaryrefslogtreecommitdiffstats
path: root/Library/ENV
diff options
context:
space:
mode:
authorMisty De Meo2013-06-04 10:18:14 -0500
committerMisty De Meo2013-09-01 13:19:12 -0700
commit11f8b2f49c57bd09b79d0aac2ecd11869d9289d2 (patch)
tree158852878b4c46887e442c21f88105764ca7ae1b /Library/ENV
parentf870d605fac5ac2f1b68f3bfea274242cccedcea (diff)
downloadbrew-11f8b2f49c57bd09b79d0aac2ecd11869d9289d2.tar.bz2
Experimental support for non-Apple GCCs
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