From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/elfutils: link with libatomic if needed
Date: Thu, 25 Feb 2021 22:28:18 +0100 [thread overview]
Message-ID: <20210225212818.GJ2276@scaer> (raw)
In-Reply-To: <20210221202944.121423-1-fontaine.fabrice@gmail.com>
Fabrice, All,
On 2021-02-21 21:29 +0100, Fabrice Fontaine spake thusly:
> Fix build of elfutils 0.181 with Bootlin SPARC uclibc toolchain added
> with commit 1348c569d0cb7f67eca30f170b782aa8b51cc259
>
> Fixes:
> - http://autobuild.buildroot.org/results/31ce9e3861c6229a7869a15d322f5d2f5bfc6165
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> package/elfutils/elfutils.mk | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/package/elfutils/elfutils.mk b/package/elfutils/elfutils.mk
> index 3d37c4634b..42f2f8b304 100644
> --- a/package/elfutils/elfutils.mk
> +++ b/package/elfutils/elfutils.mk
> @@ -43,6 +43,10 @@ ELFUTILS_CONF_ENV += \
> ELFUTILS_LDFLAGS = $(TARGET_LDFLAGS) \
> $(TARGET_NLS_LIBS)
>
> +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
> +ELFUTILS_LDFLAGS += -latomic
> +endif
> +
> ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),)
> ELFUTILS_DEPENDENCIES += musl-fts
> ELFUTILS_LDFLAGS += -lfts
> --
> 2.30.0
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2021-02-25 21:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-21 20:29 [Buildroot] [PATCH 1/1] package/elfutils: link with libatomic if needed Fabrice Fontaine
2021-02-25 21:28 ` Yann E. MORIN [this message]
2021-03-05 12:23 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210225212818.GJ2276@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox