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
commita2f11cec697aa337d4b7678df60e9f1dd5bbc926 (patch)
tree455daeac62fa59e61d3706abce2b907754385792 /Library/ENV
parent0cfdd980daffdf17f04a8c68b1edf6fbeb3a76ed (diff)
downloadhomebrew-a2f11cec697aa337d4b7678df60e9f1dd5bbc926.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'