Skip to content
Snippets Groups Projects
Commit 8a99ea20 authored by Misty De Meo's avatar Misty De Meo
Browse files

superenv: also filter out -mcpu=

On PPC, -mcpu is the preferred equivalent to -march.
parent e5cd33c7
No related branches found
No related tags found
No related merge requests found
......@@ -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'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment