Only propagate universal option if the formula defines it
This commit is contained in:
parent
6d949599b5
commit
40369dbbcd
@ -270,7 +270,9 @@ class FormulaInstaller
|
|||||||
|
|
||||||
def inherited_options_for(f, dep)
|
def inherited_options_for(f, dep)
|
||||||
options = Options.new
|
options = Options.new
|
||||||
options << Option.new("universal") if f.build.universal? && !dep.build?
|
if f.build.universal? && !dep.build? && dep.to_formula.build.has_option?("universal")
|
||||||
|
options << Option.new("universal")
|
||||||
|
end
|
||||||
options
|
options
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user