Write the positive case first
This commit is contained in:
parent
de9ce56414
commit
815e7f29fc
@ -87,10 +87,10 @@ class Cmd
|
|||||||
end
|
end
|
||||||
|
|
||||||
if sdkroot
|
if sdkroot
|
||||||
if tool != 'ld'
|
if tool == "ld"
|
||||||
args << "--sysroot=#{sdkroot}"
|
|
||||||
else
|
|
||||||
args << "-syslibroot" << sdkroot
|
args << "-syslibroot" << sdkroot
|
||||||
|
else
|
||||||
|
args << "--sysroot=#{sdkroot}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user