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
commite5027286413223f0d48d0d2e7ae6b360bb861f3d (patch)
treee2996c64e435c6aadf4de45fdfcd90aa554311e8 /Library
parent32b1d46c966c790f1a04b1848ebc25b1170f5295 (diff)
downloadbrew-e5027286413223f0d48d0d2e7ae6b360bb861f3d.tar.bz2
Superenv: be more specific about -O flags
Closes Homebrew/homebrew#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