On Thu, 2023-07-27 at 00:56 -0700, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.k...@gmail.com>
> ---
> v2: Also fix KVM_LD and remove -fuse-ld=lld
> 
>  meta/recipes-extended/ltp/ltp_20230516.bb | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-extended/ltp/ltp_20230516.bb 
> b/meta/recipes-extended/ltp/ltp_20230516.bb
> index e9407d3148e..1efb7637dcf 100644
> --- a/meta/recipes-extended/ltp/ltp_20230516.bb
> +++ b/meta/recipes-extended/ltp/ltp_20230516.bb
> @@ -41,13 +41,15 @@ inherit autotools-brokensep pkgconfig
>  # https://sourceware.org/bugzilla/show_bug.cgi?id=18097
>  # 
> https://github.com/linux-test-project/ltp/commit/3fce2064b54843218d085aae326c8f7ecf3a8c41#diff-39268f0855c634ca48c8993fcd2c95b12a65b79e8d9fa5ccd6b0f5a8785c0dd6R36
>  LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' 
> -fuse-ld=bfd', '', d)}"
> +LDFLAGS:remove = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', 
> '-fuse-ld=lld', '', d)}"
> +LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' 
> -fuse-ld=bfd', '', d)}"

Why do we need the remove? Nobody would set both ld-is-gold and ls-is-
ldd would they?

I don't really like remove on principle in OE-Core...

Cheers,

Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#184922): 
https://lists.openembedded.org/g/openembedded-core/message/184922
Mute This Topic: https://lists.openembedded.org/mt/100386590/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to