Only pass cflags during configure and make
Fixes Homebrew/homebrew#24172.
This commit is contained in:
parent
6af4ab44c6
commit
e22ad69f00
@ -163,6 +163,8 @@ class Cmd
|
||||
def cflags
|
||||
args = []
|
||||
|
||||
return args unless cccfg? 'O' or configure?
|
||||
|
||||
args << '-pipe'
|
||||
args << '-w' unless configure?
|
||||
args << '-Os'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user