aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2013-08-28 20:01:58 -0700
committerMisty De Meo2013-08-28 20:01:58 -0700
commitb4bb8b4710723a450d2e1c4161e3423a77f3b08f (patch)
treecb7e5aacc080dc5d46509fa8d0657e19ac12ef47 /Library
parentf8a3b1b4361ba4f5b5c8ddb3d8f681fddf929767 (diff)
downloadhomebrew-b4bb8b4710723a450d2e1c4161e3423a77f3b08f.tar.bz2
superenv: also filter out -mcpu=
On PPC, -mcpu is the preferred equivalent to -march.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/ENV/4.3/cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc
index fd22bb373..39af59266 100755
--- a/Library/ENV/4.3/cc
+++ b/Library/ENV/4.3/cc
@@ -113,7 +113,7 @@ class Cmd
# If ENV.m32 was set, we allow the "-m32" flag, but we don't add anything
args << '-m32' if cccfg? '3'
when /^-g\d?/, /^-gstabs\d+/, '-gstabs+', /^-ggdb\d?/, '-gdwarf-2',
- /^-march=.+/, /^-mtune=.+/, '-m64',
+ /^-march=.+/, /^-mtune=.+/, /^-mcpu=.+/, '-m64',
/^-O[0-9zs]?$/, '-fast',
'-pedantic', '-pedantic-errors'
when '-fopenmp', '-lgomp'