From 7c3c67d722f85171ccd9a171bd58cac6d2fa87ba Mon Sep 17 00:00:00 2001 From: Jack Nagel <jacknagel@gmail.com> Date: Fri, 4 Apr 2014 10:30:35 -0500 Subject: [PATCH] Need to still check formula build state for some reason --- Library/Homebrew/formula_installer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 8c685d88cd..6fba3aded1 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 -- GitLab