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)
|
def setup_build_environment(formula=nil)
|
||||||
@formula = formula
|
@formula = formula
|
||||||
|
reset
|
||||||
end
|
end
|
||||||
|
|
||||||
def reset
|
def reset
|
||||||
|
|||||||
@ -17,7 +17,6 @@ module Stdenv
|
|||||||
|
|
||||||
def setup_build_environment(formula=nil)
|
def setup_build_environment(formula=nil)
|
||||||
super
|
super
|
||||||
reset
|
|
||||||
|
|
||||||
if MacOS.version >= :mountain_lion
|
if MacOS.version >= :mountain_lion
|
||||||
# Mountain Lion's sed is stricter, and errors out when
|
# Mountain Lion's sed is stricter, and errors out when
|
||||||
|
|||||||
@ -35,7 +35,6 @@ module Superenv
|
|||||||
|
|
||||||
def setup_build_environment(formula=nil)
|
def setup_build_environment(formula=nil)
|
||||||
super
|
super
|
||||||
reset
|
|
||||||
send(compiler)
|
send(compiler)
|
||||||
|
|
||||||
self['MAKEFLAGS'] ||= "-j#{determine_make_jobs}"
|
self['MAKEFLAGS'] ||= "-j#{determine_make_jobs}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user