[oe] [meta-networking][PATCH 1/3] ifenslave: fix QA warning for GNU_HASH

Yi Zhao yi.zhao at windriver.com
Mon Aug 22 02:04:18 UTC 2016



在 2016年08月19日 18:09, André Draszik 写道:
> On Fr, 2016-08-19 at 18:04 +0800, Yi Zhao wrote:
>> Set LDFLAGS explicitly for do_compile
>>
>> Signed-off-by: Yi Zhao <yi.zhao at windriver.com>
>> ---
>>   meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb
>> b/meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb
>> index acc0864..385bc80 100644
>> --- a/meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb
>> +++ b/meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb
>> @@ -10,7 +10,7 @@ SRC_URI[md5sum] = "56126cd1013cefe0ce6f81613e677bdd"
>>   SRC_URI[sha256sum] =
>> "7917bf34de80a2492eb225adf9168c83a4854ac8a008ed0fd5b3fd147ccd3041"
>>   
>>   do_compile() {
>> -    ${CC} ifenslave.c -o ifenslave
>> +    ${CC} ${LDFLAGS} ifenslave.c -o ifenslave
> While you're fixing the gcc invocation here, wouldn't it make sense to add
> CFLAGS as well? (Maybe in a separate patch).

Thanks,  I will send the patch later.

Yi

>
> Cheers,
> Andre'
>




More information about the Openembedded-devel mailing list