aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-11-08 23:14:10 -0600
committerJack Nagel2013-11-08 23:15:12 -0600
commit0bee21f9ea1d5497fada0a2c79737097a4ebaf46 (patch)
tree2ad510dca6fbbd0b1f7ac9aab9545f38c252bf96 /Library
parentc4839a616e0eaa7ff864c7c7838c8d14f42b8a2f (diff)
downloadhomebrew-0bee21f9ea1d5497fada0a2c79737097a4ebaf46.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')
-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