aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-04-21 00:17:22 -0500
committerJack Nagel2014-04-21 00:17:34 -0500
commit815e7f29fc781163524f0a21937d590a48759a54 (patch)
tree99f41e182a4129a68960b079f789fe179a910532 /Library
parentde9ce5641498f33cafff0eabbd8f22687e0f5b91 (diff)
downloadbrew-815e7f29fc781163524f0a21937d590a48759a54.tar.bz2
Write the positive case first
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/ENV/4.3/cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc
index 841376f1d..8dab79bbc 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