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
|
||||||
end
|
end
|
||||||
def args
|
def args
|
||||||
args = if not cccfg? 'O' or tool == 'ld'
|
if !cccfg?("O") || tool == "ld" || configure?
|
||||||
@args.dup
|
args = @args.dup
|
||||||
else
|
else
|
||||||
refurbished_args
|
args = refurbished_args
|
||||||
end
|
end
|
||||||
if tool != 'ld'
|
if tool != 'ld'
|
||||||
args << "--sysroot=#{sdkroot}"
|
args << "--sysroot=#{sdkroot}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user