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 | 8a99ea209478f574a64eabd9e84472b80665e7ca (patch) | |
| tree | 266c7a6d045d57c4419b9336cfd76b3974929c66 /Library | |
| parent | e5cd33c7a96a181bedf5cd033d509e2bf720745d (diff) | |
| download | brew-8a99ea209478f574a64eabd9e84472b80665e7ca.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' |
