aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils/inreplace.rb
diff options
context:
space:
mode:
authorMisty De Meo2013-09-10 23:08:17 -0700
committerMisty De Meo2013-09-17 12:43:38 -0700
commit1ae81f0bf70d7fe0b39cc05ae53b51514a9d3435 (patch)
treed5fbcebc17e71eb4c4517f625a3fca7814e21afa /Library/Homebrew/utils/inreplace.rb
parent91e6c993f868a648d57d9666e9855198686003e3 (diff)
downloadbrew-1ae81f0bf70d7fe0b39cc05ae53b51514a9d3435.tar.bz2
Move CompilerSelector logic into build env setup
This moves the CompilerSelector fails_with logic into the build environment setup, making the compiler selection available before performing actions that depends on knowing what the compiler is, e.g. setting up PATH. ENV.setup_build_environment now optionally takes a Formula argument to provide the information necessary to do the fails_with, and the new ENV.validate_cc! extracts the fails_with logic from Build.install.
Diffstat (limited to 'Library/Homebrew/utils/inreplace.rb')
0 files changed, 0 insertions, 0 deletions