diff options
| author | Adam Vandenberg | 2012-10-31 06:50:50 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-10-31 06:50:50 -0700 |
| commit | 91db14b0105a80df588f57c64369aa6b6fe13edf (patch) | |
| tree | 46a577d55c0d6ec065f89d5d9c096557f2bcaaaa /Library | |
| parent | ce3c295ae240fde7a097fa09631d4ba92c808a79 (diff) | |
| download | homebrew-91db14b0105a80df588f57c64369aa6b6fe13edf.tar.bz2 | |
Superenv: be more specific about -O flags
Closes #15775.
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 fa620cc09..cdf69e5f3 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -103,7 +103,7 @@ class Cmd whittler.next when /^-g\d?/, /^-gstabs\d+/, '-gstabs+', /^-ggdb\d?/, '-gdwarf-2', /^-march=.+/, /^-mtune=.+/, '-m64', '-m32', - /^-O[0-9zs]?/, '-fast', + /^-O[0-9zs]?$/, '-fast', '-pedantic', '-pedantic-errors' when '-fopenmp', '-lgomp' # clang doesn't support OpenMP |
