diff options
| author | Jack Nagel | 2014-04-21 00:17:22 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-04-21 00:17:34 -0500 |
| commit | d8c2005c4691c32701d7b0ca4fb1d027ed5fcadf (patch) | |
| tree | 3a207828ff4bd232697e7300b1ffef3696a3ca64 /Library | |
| parent | aef03cd022c5b1324a60513f58232323cb5481a6 (diff) | |
| download | homebrew-d8c2005c4691c32701d7b0ca4fb1d027ed5fcadf.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 |
