aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-11-10 18:24:49 -0600
committerJack Nagel2013-11-10 18:25:33 -0600
commit42b54150af9b74fc4b14577f4538e663a51731a7 (patch)
tree25d3bbdac816b14cfce2c26b738ad720b5ff66b9 /Library
parent43baf49ff153d6c72a812ca142aeaca099768e2e (diff)
downloadbrew-42b54150af9b74fc4b14577f4538e663a51731a7.tar.bz2
Pass optimization and arch flags during configure
Closes Homebrew/homebrew#24106.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/ENV/4.3/cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc
index d4410fa68..5baba3de5 100755
--- a/Library/ENV/4.3/cc
+++ b/Library/ENV/4.3/cc
@@ -163,9 +163,9 @@ class Cmd
def cflags
args = []
- return args unless cccfg? 'O'
-
- args << '-pipe' << '-w' << '-Os'
+ args << '-pipe'
+ args << '-w' unless configure?
+ args << '-Os'
# When bottling use the oldest supported CPU type.
if cccfg? 'bc'