From b4f5be46d28f17b067c9bf275b995b8b8558dbad Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Thu, 3 Oct 2013 20:05:32 -0700 Subject: [PATCH] MacCPUs: distinguish between G5 32-bit and 64-bit --- Library/Homebrew/os/mac/hardware.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/os/mac/hardware.rb b/Library/Homebrew/os/mac/hardware.rb index b0ac998224..1de4fb5a5d 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