From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@buildroot.org
Cc: Romain Naour <romain.naour@gmail.com>,
Fabrice Fontaine <fontaine.fabrice@gmail.com>
Subject: [Buildroot] [PATCH 1/1] package/stress-ng: link with -latomic when needed
Date: Sat, 16 Sep 2023 12:40:40 +0200 [thread overview]
Message-ID: <20230916104040.315026-1-fontaine.fabrice@gmail.com> (raw)
Fix the following build failure raised since at least bump to version
0.15.04 in commit 00553ea186357fd3e2b3c89fa560e9711cc67472:
Fixes:
- http://autobuild.buildroot.org/results/127ed4c110d99c6453a01ce221f628d40e566dc1
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/stress-ng/stress-ng.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/stress-ng/stress-ng.mk b/package/stress-ng/stress-ng.mk
index 0f204bcf79..a7b57459f1 100644
--- a/package/stress-ng/stress-ng.mk
+++ b/package/stress-ng/stress-ng.mk
@@ -20,6 +20,10 @@ ifeq ($(BR2_PACKAGE_KEYUTILS),y)
STRESS_NG_DEPENDENCIES += keyutils
endif
+ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
+STRESS_NG_MAKE_FLAGS += LDFLAGS_EXTRA=-latomic
+endif
+
define STRESS_NG_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(STRESS_NG_MAKE_FLAGS)
endef
--
2.40.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2023-09-16 10:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-16 10:40 Fabrice Fontaine [this message]
2023-09-16 12:09 ` [Buildroot] [PATCH 1/1] package/stress-ng: link with -latomic when needed Yann E. MORIN
2023-09-24 20:17 ` 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=20230916104040.315026-1-fontaine.fabrice@gmail.com \
--to=fontaine.fabrice@gmail.com \
--cc=buildroot@buildroot.org \
--cc=romain.naour@gmail.com \
/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 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.