aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2014-04-04 10:30:35 -0500
committerJack Nagel2014-04-04 10:31:27 -0500
commit7c3c67d722f85171ccd9a171bd58cac6d2fa87ba (patch)
tree1e7d8066d1298b4550b0e565f4677bdce4b9f025 /Library/Homebrew
parent611f1a1b4238374ec068de496b3cb674d072f52b (diff)
downloadbrew-7c3c67d722f85171ccd9a171bd58cac6d2fa87ba.tar.bz2
Need to still check formula build state for some reason
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/formula_installer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 8c685d88c..6fba3aded 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -324,7 +324,7 @@ class FormulaInstaller
def inherited_options_for(dep)
inherited_options = Options.new
- if options.include?("universal") && !dep.build? && dep.to_formula.build.has_option?("universal")
+ if (options.include?("universal") || f.build.universal?) && !dep.build? && dep.to_formula.build.has_option?("universal")
inherited_options << Option.new("universal")
end
inherited_options