Make obvious that this is a nested conditional
This commit is contained in:
parent
ed8851dfa1
commit
8b086fe575
@ -85,11 +85,15 @@ class Cmd
|
|||||||
else
|
else
|
||||||
args = refurbished_args
|
args = refurbished_args
|
||||||
end
|
end
|
||||||
if tool != 'ld'
|
|
||||||
args << "--sysroot=#{sdkroot}"
|
if nclt?
|
||||||
else
|
if tool != 'ld'
|
||||||
args << "-syslibroot" << sdkroot
|
args << "--sysroot=#{sdkroot}"
|
||||||
end if nclt?
|
else
|
||||||
|
args << "-syslibroot" << sdkroot
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
allflags = case mode
|
allflags = case mode
|
||||||
when :ccld
|
when :ccld
|
||||||
cflags + args + cppflags + ldflags
|
cflags + args + cppflags + ldflags
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user