diff options
| author | Jack Nagel | 2014-04-21 00:17:22 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-04-21 00:17:34 -0500 |
| commit | 815e7f29fc781163524f0a21937d590a48759a54 (patch) | |
| tree | 99f41e182a4129a68960b079f789fe179a910532 /Library | |
| parent | de9ce5641498f33cafff0eabbd8f22687e0f5b91 (diff) | |
| download | brew-815e7f29fc781163524f0a21937d590a48759a54.tar.bz2 | |
Write the positive case first
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/ENV/4.3/cc | 6 |
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 |
