package/stress-ng: link with -latomic when needed
PATCH 1/1 package/stress-ng: link with -latomic when needed
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
--- package/stress-ng/stress-ng.mk | 4 ++++ 1 file changed, 4 insertions(+)
package/stress-ng/stress-ng.mk +4 -0
@@ -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
Signature · 6 lines
2.40.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Yann E. MORIN
AppliedFabrice, All,
On 2023-09-16 12:40 +0200, Fabrice Fontaine spake thusly:
Quoted 7 lines
Fix the following build failure raised since at least bump to version 0.15.04 in commit
00553ea186357fd3e2b3c89fa560e9711cc67472:Fixes:
- http://autobuild.buildroot.org/results/127ed4c110d99c6453a01ce221f628d40e566dc1Signed-off-by Fabrice Fontaine <[email protected]>
Applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 26 lines
--- package/stress-ng/stress-ng.mk | 4 ++++ 1 file changed, 4 insertions(+)package/stress-ng/stress-ng.mk +4
-0@@ -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) endefSignature · 6 lines
2.40.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | 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. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Fix the following build failure raised since at least bump to version 0.15.04 in commit
00553ea186357fd3e2b3c89fa560e9711cc67472:Fixes:
- http://autobuild.buildroot.org/results/127ed4c110d99c6453a01ce221f628d40e566dc1Signed-off-by Fabrice Fontaine <[email protected]>
Unable to reproduce on 2023.02.x, so committed to 2023.05.x and 2023.08.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot