Make obvious that this is a nested conditional

This commit is contained in:
Jack Nagel 2014-04-21 00:17:22 -05:00
parent ed8851dfa1
commit 8b086fe575

View File

@ -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