aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-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