[OE-core] [PATCH 1/4] uclibc.inc: remove unused UCLIBC_EXTRA_LDFLAGS

Andre McCurdy armccurdy at gmail.com
Fri Aug 7 18:09:59 UTC 2015


On Thu, Aug 6, 2015 at 7:12 PM, Khem Raj <raj.khem at gmail.com> wrote:
> On Thu, Aug 6, 2015 at 6:54 PM, Andre McCurdy <armccurdy at gmail.com> wrote:
>> Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
>> ---
>>  meta/recipes-core/uclibc/uclibc.inc | 1 -
>>  1 file changed, 1 deletion(-)
>>
>> diff --git a/meta/recipes-core/uclibc/uclibc.inc b/meta/recipes-core/uclibc/uclibc.inc
>> index 08465c4..c483228 100644
>> --- a/meta/recipes-core/uclibc/uclibc.inc
>> +++ b/meta/recipes-core/uclibc/uclibc.inc
>> @@ -59,7 +59,6 @@ export V="2"
>>  #
>>  CFLAGS_arm := "${@oe_filter_out('-fno-omit-frame-pointer', '${CFLAGS}', d)}"
>>  UCLIBC_EXTRA_CFLAGS  := "${@oe_filter_out('(-I\S+|-i\S+)', '${CFLAGS}', d)}"
>> -UCLIBC_EXTRA_LDFLAGS := "${@oe_filter_out('(-L\S+|-l\S+)', '${LDFLAGS}', d)}"
>>
>
> those variables are part of .config so please make sure that they are
> really redundant and dont make into .config

UCLIBC_EXTRA_LDFLAGS isn't used anywhere in the recipe and it's not
exported via the run.do_configure or run.do_compile scripts, so I
think it safe to remove. It's not part of uclibc's .config file.

UCLIBC_EXTRA_CFLAGS is used in the recipe and does need to stay.


>>  do_compile_prepend () {
>>    unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
>> --
>> 1.9.1
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list