All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/guile: link with libatomic if needed
@ 2021-02-08  6:46 Fabrice Fontaine
  2021-02-11 22:18 ` Peter Korsgaard
  2021-02-14 16:49 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2021-02-08  6:46 UTC (permalink / raw)
  To: buildroot

Fix build of guile 3.0.4 with Bootlin SPARC uclibc toolchain added with
commit 1348c569d0cb7f67eca30f170b782aa8b51cc259

Fixes:
 - http://autobuild.buildroot.org/results/a72d8e14854f9c6c9632e856019a3eb8ec4818b6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/guile/guile.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/guile/guile.mk b/package/guile/guile.mk
index 0e7328f199..44f4d1c85e 100644
--- a/package/guile/guile.mk
+++ b/package/guile/guile.mk
@@ -29,6 +29,10 @@ GUILE_CFLAGS = \
 	-DHAVE_GC_GET_FREE_SPACE_DIVISOR \
 	-DHAVE_GC_SET_FINALIZE_ON_DEMAND
 
+ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
+GUILE_CONF_ENV += LIBS=-latomic
+endif
+
 ifeq ($(BR2_STATIC_LIBS),y)
 GUILE_CFLAGS += -DGC_NO_DLOPEN
 endif
-- 
2.29.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] package/guile: link with libatomic if needed
  2021-02-08  6:46 [Buildroot] [PATCH 1/1] package/guile: link with libatomic if needed Fabrice Fontaine
@ 2021-02-11 22:18 ` Peter Korsgaard
  2021-02-14 16:49 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2021-02-11 22:18 UTC (permalink / raw)
  To: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Fix build of guile 3.0.4 with Bootlin SPARC uclibc toolchain added with
 > commit 1348c569d0cb7f67eca30f170b782aa8b51cc259

 > Fixes:
 >  - http://autobuild.buildroot.org/results/a72d8e14854f9c6c9632e856019a3eb8ec4818b6

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] package/guile: link with libatomic if needed
  2021-02-08  6:46 [Buildroot] [PATCH 1/1] package/guile: link with libatomic if needed Fabrice Fontaine
  2021-02-11 22:18 ` Peter Korsgaard
@ 2021-02-14 16:49 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2021-02-14 16:49 UTC (permalink / raw)
  To: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Fix build of guile 3.0.4 with Bootlin SPARC uclibc toolchain added with
 > commit 1348c569d0cb7f67eca30f170b782aa8b51cc259

 > Fixes:
 >  - http://autobuild.buildroot.org/results/a72d8e14854f9c6c9632e856019a3eb8ec4818b6

 > 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-02-14 16:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-08  6:46 [Buildroot] [PATCH 1/1] package/guile: link with libatomic if needed Fabrice Fontaine
2021-02-11 22:18 ` Peter Korsgaard
2021-02-14 16:49 ` 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.