diff options
| author | Misty De Meo | 2013-08-28 20:01:58 -0700 |
|---|---|---|
| committer | Misty De Meo | 2013-08-28 20:01:58 -0700 |
| commit | b4bb8b4710723a450d2e1c4161e3423a77f3b08f (patch) | |
| tree | cb7e5aacc080dc5d46509fa8d0657e19ac12ef47 /Library | |
| parent | f8a3b1b4361ba4f5b5c8ddb3d8f681fddf929767 (diff) | |
| download | homebrew-b4bb8b4710723a450d2e1c4161e3423a77f3b08f.tar.bz2 | |
superenv: also filter out -mcpu=
On PPC, -mcpu is the preferred equivalent to -march.
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/ENV/4.3/cc | 2 |
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' |
