aboutsummaryrefslogtreecommitdiffstats
path: root/Library/ENV
diff options
context:
space:
mode:
authorJack Nagel2013-11-12 12:00:18 -0600
committerJack Nagel2013-11-12 13:53:29 -0600
commit4cb824b92eb6c474324cb065296fa93c07d4ba83 (patch)
tree480dff4f110b8d3d2861fd009cb6d752fb161196 /Library/ENV
parentc7b7fdf0ca45d0b139c28f55caf9392023f6f0ad (diff)
downloadbrew-4cb824b92eb6c474324cb065296fa93c07d4ba83.tar.bz2
Allow changing the optimization level under superenv
Diffstat (limited to 'Library/ENV')
-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 fced0780a..eeb87e332 100755
--- a/Library/ENV/4.3/cc
+++ b/Library/ENV/4.3/cc
@@ -181,7 +181,7 @@ class Cmd
end
def optflags
args = []
- args << '-Os'
+ args << "-#{ENV['HOMEBREW_OPTIMIZATION_LEVEL']}"
# When bottling use the oldest supported CPU type.
if cccfg? 'bc'