Skip to content

Commit

Permalink
Merge pull request #8119 from reitermarkus/effective-arch
Browse files Browse the repository at this point in the history
Fix `effective_arch` on Linux.
  • Loading branch information
MikeMcQuaid committed Jul 28, 2020
2 parents 7279e6f + 2334040 commit 1c84c37
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit 1c84c37

Please sign in to comment.