Skip to content
Snippets Groups Projects
Commit 42b54150 authored by Jack Nagel's avatar Jack Nagel
Browse files

Pass optimization and arch flags during configure

Closes Homebrew/homebrew#24106.
parent 43baf49f
No related branches found
No related tags found
No related merge requests found
......@@ -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'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment