aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula_installer.rb
diff options
context:
space:
mode:
authorJack Nagel2014-04-04 10:30:35 -0500
committerJack Nagel2014-04-04 10:31:27 -0500
commitc538db712046c173de31871393673d74484e6eaf (patch)
tree1745a8caf20bf5b363cb29da4bb9830c81e88b49 /Library/Homebrew/formula_installer.rb
parent6784edbe9d8f50764aefb6b17af878490f0456fb (diff)
downloadhomebrew-c538db712046c173de31871393673d74484e6eaf.tar.bz2
Need to still check formula build state for some reason
Diffstat (limited to 'Library/Homebrew/formula_installer.rb')
-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