diff options
| author | Adam Vandenberg | 2012-10-31 06:50:50 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-10-31 06:50:50 -0700 |
| commit | e5027286413223f0d48d0d2e7ae6b360bb861f3d (patch) | |
| tree | e2996c64e435c6aadf4de45fdfcd90aa554311e8 /Library | |
| parent | 32b1d46c966c790f1a04b1848ebc25b1170f5295 (diff) | |
| download | brew-e5027286413223f0d48d0d2e7ae6b360bb861f3d.tar.bz2 | |
Superenv: be more specific about -O flags
Closes Homebrew/homebrew#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 |
