Don't munge arguments when configure is run by make
Fixes Homebrew/homebrew-versions#364.
This commit is contained in:
parent
000e9eecba
commit
02270c5edb
@ -73,10 +73,10 @@ class Cmd
|
||||
end
|
||||
end
|
||||
def args
|
||||
args = if not cccfg? 'O' or tool == 'ld'
|
||||
@args.dup
|
||||
if !cccfg?("O") || tool == "ld" || configure?
|
||||
args = @args.dup
|
||||
else
|
||||
refurbished_args
|
||||
args = refurbished_args
|
||||
end
|
||||
if tool != 'ld'
|
||||
args << "--sysroot=#{sdkroot}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user