* [Buildroot] [PATCH 1/1] package/elfutils: link with libatomic if needed
@ 2021-02-21 20:29 Fabrice Fontaine
2021-02-25 21:28 ` Yann E. MORIN
2021-03-05 12:23 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2021-02-21 20:29 UTC (permalink / raw)
To: buildroot
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>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/elfutils: link with libatomic if needed
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
2021-03-05 12:23 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2021-02-25 21:28 UTC (permalink / raw)
To: buildroot
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. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/elfutils: link with libatomic if needed
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
@ 2021-03-05 12:23 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2021-03-05 12:23 UTC (permalink / raw)
To: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> 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>
Committed to 2020.11.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-05 12:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2021-03-05 12:23 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.