Write the positive case first

This commit is contained in:
Jack Nagel 2014-04-21 00:17:22 -05:00
parent de9ce56414
commit 815e7f29fc

View File

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