aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-10-31 06:50:50 -0700
committerAdam Vandenberg2012-10-31 06:50:50 -0700
commit91db14b0105a80df588f57c64369aa6b6fe13edf (patch)
tree46a577d55c0d6ec065f89d5d9c096557f2bcaaaa /Library
parentce3c295ae240fde7a097fa09631d4ba92c808a79 (diff)
downloadhomebrew-91db14b0105a80df588f57c64369aa6b6fe13edf.tar.bz2
Superenv: be more specific about -O flags
Closes #15775.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/ENV/4.3/cc2
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