From 815e7f29fc781163524f0a21937d590a48759a54 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 21 Apr 2014 00:17:22 -0500 Subject: [PATCH] Write the positive case first --- Library/ENV/4.3/cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index 841376f1da..8dab79bbcf 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -87,10 +87,10 @@ class Cmd end if sdkroot - if tool != 'ld' - args << "--sysroot=#{sdkroot}" - else + if tool == "ld" args << "-syslibroot" << sdkroot + else + args << "--sysroot=#{sdkroot}" end end