diff options
| author | Misty De Meo | 2013-06-04 10:18:14 -0500 |
|---|---|---|
| committer | Misty De Meo | 2013-09-01 13:19:12 -0700 |
| commit | 11f8b2f49c57bd09b79d0aac2ecd11869d9289d2 (patch) | |
| tree | 158852878b4c46887e442c21f88105764ca7ae1b /Library/ENV | |
| parent | f870d605fac5ac2f1b68f3bfea274242cccedcea (diff) | |
| download | brew-11f8b2f49c57bd09b79d0aac2ecd11869d9289d2.tar.bz2 | |
Experimental support for non-Apple GCCs
Diffstat (limited to 'Library/ENV')
| -rwxr-xr-x | Library/ENV/4.3/cc | 6 |
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 |
