aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBulat Shakirzyanov2013-11-08 16:32:48 -0800
committerMike McQuaid2013-11-09 09:56:37 +0000
commit1f1678a1d5071f3ea63371c9d1a36535e05d9ed5 (patch)
tree76877d682d3de8e1c09c12b7f689f01200404870 /Library
parente7f20bcfbc0250c3a0f2dfa6fe092179e3c4ce88 (diff)
downloadbrew-1f1678a1d5071f3ea63371c9d1a36535e05d9ed5.tar.bz2
superenv: fix versioned g++ invocations.
Closes Homebrew/homebrew#24104. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/ENV/4.3/cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc
index 7f18b466a..a67ba17eb 100755
--- a/Library/ENV/4.3/cc
+++ b/Library/ENV/4.3/cc
@@ -64,7 +64,7 @@ class Cmd
@tool ||= case @arg0
when 'ld' then 'ld'
when 'cpp' then 'cpp'
- when /\w\+\+$/
+ when /\w\+\+(-\d\.\d)?$/
case ENV['HOMEBREW_CC']
when /clang/
'clang++'