diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 57965feb4c..34c33d71fa 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -323,7 +323,8 @@ module Homebrew f.print_tap_action build_options = f.build - fi = FormulaInstaller.new(f, force_bottle: args.force_bottle?, include_test: args.include_test?) + fi = FormulaInstaller.new(f, force_bottle: args.force_bottle?, include_test: args.include_test?, + build_from_source: args.build_from_source?) fi.options = build_options.used_options fi.env = args.env fi.force = args.force? diff --git a/Library/Homebrew/reinstall.rb b/Library/Homebrew/reinstall.rb index b55727130e..b7916a94a7 100644 --- a/Library/Homebrew/reinstall.rb +++ b/Library/Homebrew/reinstall.rb @@ -23,7 +23,8 @@ module Homebrew options |= f.build.used_options options &= f.options - fi = FormulaInstaller.new(f, force_bottle: args.force_bottle?, include_test: args.include_test?) + fi = FormulaInstaller.new(f, force_bottle: args.force_bottle?, include_test: args.include_test?, + build_from_source: args.build_from_source?) fi.options = options fi.force = args.force? fi.keep_tmp = args.keep_tmp? diff --git a/Library/Homebrew/upgrade.rb b/Library/Homebrew/upgrade.rb index 7557e897d0..2e4ccb8d58 100644 --- a/Library/Homebrew/upgrade.rb +++ b/Library/Homebrew/upgrade.rb @@ -63,7 +63,8 @@ module Homebrew options |= f.build.used_options options &= f.options - fi = FormulaInstaller.new(f, force_bottle: args.force_bottle?, include_test: args.include_test?) + fi = FormulaInstaller.new(f, force_bottle: args.force_bottle?, include_test: args.include_test?, + build_from_source: args.build_from_source?) fi.options = options fi.force = args.force? fi.keep_tmp = args.keep_tmp?