aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/pull.rb
diff options
context:
space:
mode:
authorMartin Afanasjew2016-01-10 02:41:00 +0100
committerMartin Afanasjew2016-01-10 02:59:22 +0100
commit08fb36252c2495c7886d2dac1a837613795b3555 (patch)
tree591281fd57c096c22762d5eb5cb7215e6378a903 /Library/Homebrew/cmd/pull.rb
parentbcedfe64e8ca64e092ca72c3f61fe164c28c8af5 (diff)
downloadbrew-08fb36252c2495c7886d2dac1a837613795b3555.tar.bz2
formula_installer: fix --default-fortran-flags
Setting the `FC` environment variable allows the user to override the default Fortran compiler. The `SharedEnvExtension#fortran` method then checks whether any of `FCFLAGS` and `FFLAGS` environment variables are set and, if not, suggests to use `--default-fortran-flags` when running `brew install`. However, `--default-fortran-flags` never makes it to `build.rb` (that is executed by `FormulaInstaller`) because the flag is not whitelisted in `FormulaInstaller#sanitized_ARGV_options`. This change rectifies this and thereby eliminates the confusing message. Fixes Homebrew/homebrew#47852.
Diffstat (limited to 'Library/Homebrew/cmd/pull.rb')
0 files changed, 0 insertions, 0 deletions