On 07/04/14 01:13, Janne Grunau wrote:
> On 2014-04-07 01:03:42 +0200, Luca Barbato wrote:
>> On 07/04/14 00:56, Janne Grunau wrote:
>>> Sets cc_default based on $toolchain. As effect adds -fPIC for
>>> clang-tsan.
>>> ---
>>> or even shorter with shell substring processing
>>>
>>>  configure | 27 ++++++---------------------
>>>  1 file changed, 6 insertions(+), 21 deletions(-)
>>>
>>
>> I'm trying to add objc support so the other way makes adding a single
>> objcc_default line.
>>
>> And probably I might add vanilla toolchains for clang to make the life
>> of macosx and freebsd users nicer.
>>
>> currently we do
>>
>> ./configure --cc=clang
>>
>> once we have objc we'd have to do
>>
>> ./configure --cc=clang --objcc=clang
>>
>> or
>>
>> ./configure --toolchain=clang
> 
> I would just set objcc_default to $cc as we do with $as, $dep_cc and $ld
> 

I guess it is worth a try, push your version at will =)

lu

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to