Superenv: be more specific about -O flags
Closes Homebrew/homebrew#15775.
This commit is contained in:
parent
32b1d46c96
commit
e502728641
@ -103,7 +103,7 @@ class Cmd
|
|||||||
whittler.next
|
whittler.next
|
||||||
when /^-g\d?/, /^-gstabs\d+/, '-gstabs+', /^-ggdb\d?/, '-gdwarf-2',
|
when /^-g\d?/, /^-gstabs\d+/, '-gstabs+', /^-ggdb\d?/, '-gdwarf-2',
|
||||||
/^-march=.+/, /^-mtune=.+/, '-m64', '-m32',
|
/^-march=.+/, /^-mtune=.+/, '-m64', '-m32',
|
||||||
/^-O[0-9zs]?/, '-fast',
|
/^-O[0-9zs]?$/, '-fast',
|
||||||
'-pedantic', '-pedantic-errors'
|
'-pedantic', '-pedantic-errors'
|
||||||
when '-fopenmp', '-lgomp'
|
when '-fopenmp', '-lgomp'
|
||||||
# clang doesn't support OpenMP
|
# clang doesn't support OpenMP
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user