aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend/ENV/super.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/extend/ENV/super.rb')
-rw-r--r--Library/Homebrew/extend/ENV/super.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb
index 34137729f..702114cea 100644
--- a/Library/Homebrew/extend/ENV/super.rb
+++ b/Library/Homebrew/extend/ENV/super.rb
@@ -34,11 +34,10 @@ module Superenv
end
def setup_build_environment(formula=nil)
+ super
reset
+ send(compiler)
- self.cc = determine_cc
- self.cxx = determine_cxx
- validate_cc!(formula) unless formula.nil?
self['MAKEFLAGS'] ||= "-j#{determine_make_jobs}"
self['PATH'] = determine_path
self['PKG_CONFIG_PATH'] = determine_pkg_config_path
@@ -85,8 +84,6 @@ module Superenv
# On 10.8 and newer, these flags will also be present:
# s - apply fix for sed's Unicode support
# a - apply fix for apr-1-config path
-
- warn_about_non_apple_gcc($1) if homebrew_cc =~ GNU_GCC_REGEXP
end
private