[OE-core] Default rpaths in BUILD_LDFLAGS

Martin Kelly mkelly at xevo.com
Wed Mar 8 23:44:52 UTC 2017


On 03/08/2017 02:23 PM, Khem Raj wrote:
> On 17-03-08 13:56:12, Martin Kelly wrote:
>> On 03/08/2017 01:46 PM, Khem Raj wrote:
>>
>> I agree we should not need them. Of course I can run a sed line to remove
>> the rpaths from LLVM_LDFLAGS from tools/llvm-config/BuildVariables.inc (and
>> this works just fine). However, I think there's a deeper issue here: All the
>> build-time flags that llvm-config spits out (--cppflags, --cflags,
>> --cxxflags) probably need to be replaced with target versions of those
>> variables.
>
> Its fine to sed it out, we are trying to use llvm-confing in a cross env
> and this seems to be less treaded path for it, it assumes you would use
> it for building packages natively generally.
>
>>
>> Do you agree with replacing all of those, or do you think we should replace
>> only the rpaths?
>
> yes please
>

Sorry, just to clarify, do you mean "yes, replace all of them", or "yes, 
replace only the rpaths" ? :).


More information about the Openembedded-core mailing list