Call reset in the superclass implementation of setup_build_environment
This commit is contained in:
parent
c5f2f6b539
commit
662f887e9a
@ -29,6 +29,7 @@ module SharedEnvExtension
|
||||
|
||||
def setup_build_environment(formula=nil)
|
||||
@formula = formula
|
||||
reset
|
||||
end
|
||||
|
||||
def reset
|
||||
|
||||
@ -17,7 +17,6 @@ module Stdenv
|
||||
|
||||
def setup_build_environment(formula=nil)
|
||||
super
|
||||
reset
|
||||
|
||||
if MacOS.version >= :mountain_lion
|
||||
# Mountain Lion's sed is stricter, and errors out when
|
||||
|
||||
@ -35,7 +35,6 @@ module Superenv
|
||||
|
||||
def setup_build_environment(formula=nil)
|
||||
super
|
||||
reset
|
||||
send(compiler)
|
||||
|
||||
self['MAKEFLAGS'] ||= "-j#{determine_make_jobs}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user