Pass optimization and arch flags during configure
Closes Homebrew/homebrew#24106.
This commit is contained in:
parent
43baf49ff1
commit
42b54150af
@ -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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user