aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorShaun Jackman2014-06-03 09:43:06 +0200
committerJack Nagel2014-06-03 09:43:21 -0500
commit6e560092176ee7ec99e71590245e9dd77ce9a83b (patch)
tree6b97fcf2f1698b4f24a42601f15b23f8fe244481 /Library
parent0133afe6f8565ae84ab6267eb8e773abaad827cd (diff)
downloadbrew-6e560092176ee7ec99e71590245e9dd77ce9a83b.tar.bz2
HOMEBREW_CC: Remove COMPILER_ALIASES
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/ENV/shared.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Homebrew/extend/ENV/shared.rb b/Library/Homebrew/extend/ENV/shared.rb
index 02a3b6dd3..5d29a14ae 100644
--- a/Library/Homebrew/extend/ENV/shared.rb
+++ b/Library/Homebrew/extend/ENV/shared.rb
@@ -8,7 +8,6 @@ module SharedEnvExtension
GNU_GCC_VERSIONS = (3..9)
GNU_GCC_REGEXP = /gcc-(4\.[3-9])/
- COMPILER_ALIASES = {'gcc' => 'gcc-4.2', 'llvm' => 'llvm-gcc'}
COMPILER_SYMBOL_MAP = { 'gcc-4.0' => :gcc_4_0,
'gcc-4.2' => :gcc,
'llvm-gcc' => :llvm,
@@ -105,8 +104,7 @@ module SharedEnvExtension
end
end
elsif homebrew_cc
- cc = COMPILER_ALIASES.fetch(homebrew_cc, homebrew_cc)
- COMPILER_SYMBOL_MAP.fetch(cc) { MacOS.default_compiler }
+ COMPILER_SYMBOL_MAP.fetch(homebrew_cc) { MacOS.default_compiler }
else
MacOS.default_compiler
end