Skip to contentSkip to conversation

package/guile: link with libatomic if needed

PATCH New Fabrice Fontaine 2 participants 3 messages Feb 8, 2021 – Feb 14, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/guile: link with libatomic if needed

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

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

---
 package/guile/guile.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/guile/guile.mk +4 -0
index 0e7328f199..44f4d1c85e 100644
@@ -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
Signature · 1 line
2.29.2
#1 lore raw

PATCH 1/1 package/guile: link with libatomic if needed

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

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

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

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 package/guile: link with libatomic if needed

In reply to Fabrice Fontaine
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

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

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

Committed to 2020.11.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard