Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix effective_arch on Linux. #8119

Merged
merged 1 commit into from Jul 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions Library/Homebrew/extend/os/linux/extend/ENV/shared.rb
Expand Up @@ -3,9 +3,9 @@
module SharedEnvExtension
# @private
def effective_arch
if @args&.build_bottle? && @args&.bottle_arch
@args.bottle_arch.to_sym
elsif @args&.build_bottle?
if @build_bottle && @bottle_arch
@bottle_arch.to_sym
elsif @build_bottle
Hardware.oldest_cpu
else
:native
Expand Down