[cfe-commits] [PATCH] multiarch directory support for debian based linux/ppc
Jeremy Huddleston
jeremyhu at apple.com
Mon Feb 27 22:16:14 PST 2012
Done. Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: multiarch-ppc.patch
Type: application/octet-stream
Size: 690 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120227/a30b4085/attachment.obj>
-------------- next part --------------
On Feb 27, 2012, at 10:24 AM, Nico Weber <thakis at chromium.org> wrote:
> Can you attach the patch instead, please?
>
> Thanks,
> Nico
>
> On Sat, Feb 25, 2012 at 10:36 PM, Jeremy Huddleston <jeremyhu at apple.com> wrote:
>> On Feb 25, 2012, at 10:17 PM, Jeremy Huddleston <jeremyhu at apple.com> wrote:
>>
>>> Could someone please commit this?
>>
>> Actually please use this one instead. Michel's version was missing ppc64 support.
>>
>>> Patch is from Debian (Michel Dänzer <daenzer at debian.org>).
>>
>> Index: lib/Driver/ToolChains.cpp
>> ===================================================================
>> --- lib/Driver/ToolChains.cpp (revision 151476)
>> +++ lib/Driver/ToolChains.cpp (working copy)
>> @@ -1962,6 +1962,14 @@
>> if (llvm::sys::fs::exists(SysRoot + "/lib/mipsel-linux-gnu"))
>> return "mipsel-linux-gnu";
>> return TargetTriple.str();
>> + case llvm::Triple::ppc:
>> + if (llvm::sys::fs::exists(SysRoot + "/lib/powerpc-linux-gnu"))
>> + return "powerpc-linux-gnu";
>> + return TargetTriple.str();
>> + case llvm::Triple::ppc64:
>> + if (llvm::sys::fs::exists(SysRoot + "/lib/powerpc64-linux-gnu"))
>> + return "powerpc64-linux-gnu";
>> + return TargetTriple.str();
>> }
>> }
>>
>>
>>
>>
>>
>> _______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
More information about the cfe-commits
mailing list