aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2012-08-31 10:20:30 -0400
committerMax Howell2012-08-31 10:22:11 -0400
commit0cf83d18498f81d27e4eb460f5c4ddd58dc3c6d8 (patch)
tree0ff46562864f367ae454b8ca3a850cb20cd5dba2 /Library
parentd414d9b613dc938772254afc236f5e3f97a8ad92 (diff)
downloadhomebrew-0cf83d18498f81d27e4eb460f5c4ddd58dc3c6d8.tar.bz2
Remove plain "-O"
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 324f47d4a..ccf07278b 100755
--- a/Library/ENV/4.3/cc
+++ b/Library/ENV/4.3/cc
@@ -96,7 +96,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',
%r{^-[IL]/opt/local}, %r{^-[IL]/sw}, # no macports/fink
%r{^-[IL]/usr/X11}, %r{^-[IL]/opt/X11}, # we add X11 ourselves
'-pedantic', '-pedantic-errors'