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