aboutsummaryrefslogtreecommitdiffstats
path: root/Library/ENV
diff options
context:
space:
mode:
authorMisty De Meo2013-08-25 14:29:55 -0700
committerMisty De Meo2013-08-25 14:51:48 -0700
commitbb6e76e58f30338857db782e829a4427fdd25a3f (patch)
tree74fdfa2803612759e37d167fa9121b9e2b99e974 /Library/ENV
parent3fd2d6d04542e5d51cc3d492e3fa1af090e26396 (diff)
downloadhomebrew-bb6e76e58f30338857db782e829a4427fdd25a3f.tar.bz2
superenv: support PPC bottles
Allows for building bottles on PPC both with and without Altivec. This is currently not active but will be enabled once superenv is stable on Leopard.
Diffstat (limited to 'Library/ENV')
-rwxr-xr-xLibrary/ENV/4.3/cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc
index 79fb57102..fd22bb373 100755
--- a/Library/ENV/4.3/cc
+++ b/Library/ENV/4.3/cc
@@ -161,6 +161,10 @@ class Cmd
args << '-march=core2'
elsif cccfg? 'bi'
args << '-march=prescott'
+ elsif cccfg? 'bpA'
+ args << '-mcpu=7400'
+ elsif cccfg? 'bp'
+ args << '-mcpu=750'
else
args << '-march=native' if tool =~ /clang/
end