aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2013-11-08 23:14:10 -0600
committerJack Nagel2013-11-08 23:15:12 -0600
commite7f20bcfbc0250c3a0f2dfa6fe092179e3c4ce88 (patch)
treec327cd091b718c27cbd1d585b3e8a5a33a2db500 /Library/Homebrew
parent90c696ea6714c4aad1a279e4e77b6811c08f0847 (diff)
downloadbrew-e7f20bcfbc0250c3a0f2dfa6fe092179e3c4ce88.tar.bz2
superenv: fix type error
This is a string since it is used to match string keys in a hash.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/extend/ENV/super.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb
index d9b5872e2..3dbf45b12 100644
--- a/Library/Homebrew/extend/ENV/super.rb
+++ b/Library/Homebrew/extend/ENV/super.rb
@@ -304,7 +304,7 @@ module Superenv
end
GNU_GCC_VERSIONS.each do |n|
define_method(:"gcc-4.#{n}") do
- @compiler = :"gcc-4.#{n}"
+ @compiler = "gcc-4.#{n}"
self.cc = self['HOMEBREW_CC'] = determine_cc
self.cxx = self['HOMEBREW_CXX'] = determine_cxx
end