Done.  Thanks.

Attachment: multiarch-ppc.patch
Description: Binary data


On Feb 27, 2012, at 10:24 AM, Nico Weber <[email protected]> wrote:

> Can you attach the patch instead, please?
> 
> Thanks,
> Nico
> 
> On Sat, Feb 25, 2012 at 10:36 PM, Jeremy Huddleston <[email protected]> 
> wrote:
>> On Feb 25, 2012, at 10:17 PM, Jeremy Huddleston <[email protected]> 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 <[email protected]>).
>> 
>> 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
>> [email protected]
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
> 

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to