aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2014-03-10 14:56:02 -0500
committerJack Nagel2014-03-10 14:56:02 -0500
commit97dd5f61c461e2003efaee0e4428e5e2c1245e51 (patch)
tree1e05cd659c2412b7930e1606837f1f5b28105e17 /Library/Homebrew
parenta911dd5066ebe53fa460ee4a84c916fbc62efb33 (diff)
downloadbrew-97dd5f61c461e2003efaee0e4428e5e2c1245e51.tar.bz2
install: explicitly pass used options to the installer
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/cmd/install.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb
index 32c82482e..183a78040 100644
--- a/Library/Homebrew/cmd/install.rb
+++ b/Library/Homebrew/cmd/install.rb
@@ -104,6 +104,7 @@ module Homebrew extend self
def install_formula f
fi = FormulaInstaller.new(f)
+ fi.options = f.build.used_options
fi.ignore_deps = ARGV.ignore_deps? || ARGV.interactive?
fi.only_deps = ARGV.only_deps?
fi.build_bottle = ARGV.build_bottle?