Skip to contentSkip to conversation

package/crun: link with libatomic if needed

PATCH Applied Bernd Kuhls 2 participants 3 messages Nov 2, 2025 – Nov 17, 2025

lore
Share & tools
lore
#0 lore raw

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

Fixes:
https://autobuild.buildroot.net/results/f4f/f4fb970f8d4f2f7966fcbd542768a607ea7ababf/

---
 package/crun/crun.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/crun/crun.mk +4 -0
index b4db276602..02d0b3d62f 100644
@@ -15,6 +15,10 @@ CRUN_CPE_ID_VALID = YES
 CRUN_AUTORECONF = YES
 CRUN_CONF_OPTS = --disable-embedded-yajl
 
+ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
+CRUN_CONF_ENV += LIBS=-latomic
+endif
+
 ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
 CRUN_DEPENDENCIES += argp-standalone
 endif
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Bernd Kuhls
Quoted 4 lines · Bernd Kuhls

Fixes:
https://autobuild.buildroot.net/results/f4f/f4fb970f8d4f2f7966fcbd542768a607ea7ababf/

Applied to 2025.02.x and 2025.08.x, thanks.

Regards,
Arnout

Quoted 9 lines
---
  package/crun/crun.mk | 4 ++++
  1 file changed, 4 insertions(+)
package/crun/crun.mk +0 -0
index b4db276602..02d0b3d62f 100644

package/crun/crun.mk CRUN_CPE_ID_VALID = YES · line 24

Quoted 10 lines
package/crun/crun.mk +4 -0
@@ -15,6 +15,10 @@ CRUN_CPE_ID_VALID = YES
  CRUN_AUTORECONF = YES
  CRUN_CONF_OPTS = --disable-embedded-yajl
 
+ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
+CRUN_CONF_ENV += LIBS=-latomic
+endif
+
  ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
  CRUN_DEPENDENCIES += argp-standalone
  endif

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot