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
commitd8c2005c4691c32701d7b0ca4fb1d027ed5fcadf (patch)
tree3a207828ff4bd232697e7300b1ffef3696a3ca64 /Library
parentaef03cd022c5b1324a60513f58232323cb5481a6 (diff)
downloadhomebrew-d8c2005c4691c32701d7b0ca4fb1d027ed5fcadf.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