diff options
| author | Misty De Meo | 2013-10-03 20:05:32 -0700 |
|---|---|---|
| committer | Misty De Meo | 2013-10-03 20:05:32 -0700 |
| commit | b4f5be46d28f17b067c9bf275b995b8b8558dbad (patch) | |
| tree | 62c45b60144f38e3f42f6e5bc3c6f2f3203b7f34 /Library | |
| parent | b35d9906e5d9bdf580701b18304561ffbf36dcb8 (diff) | |
| download | brew-b4f5be46d28f17b067c9bf275b995b8b8558dbad.tar.bz2 | |
MacCPUs: distinguish between G5 32-bit and 64-bit
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/os/mac/hardware.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/os/mac/hardware.rb b/Library/Homebrew/os/mac/hardware.rb index b0ac99822..1de4fb5a5 100644 --- a/Library/Homebrew/os/mac/hardware.rb +++ b/Library/Homebrew/os/mac/hardware.rb @@ -59,7 +59,9 @@ module MacCPUs when 11 :g4e # PowerPC 7450 when 100 - :g5 # PowerPC 970 + # This is the only 64-bit PPC CPU type, so it's useful + # to distinguish in `brew --config` output and in bottle tags + MacOS.prefer_64_bit? ? :g5_64 : :g5 # PowerPC 970 else :dunno end |
