Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] coreutils: disable stdbuf for static builds
@ 2015-11-28 21:17 David du Colombier
  2015-12-17 21:48 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: David du Colombier @ 2015-11-28 21:17 UTC (permalink / raw)
  To: buildroot

When stdbuf is enabled, it builds a shared library,
but it will fail in a static-only scenario.

Signed-off-by: David du Colombier <0intro@gmail.com>
---
 package/coreutils/coreutils.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/coreutils/coreutils.mk b/package/coreutils/coreutils.mk
index 60455ac..d8e2ee6 100644
--- a/package/coreutils/coreutils.mk
+++ b/package/coreutils/coreutils.mk
@@ -109,6 +109,10 @@ endef
 COREUTILS_POST_INSTALL_TARGET_HOOKS += COREUTILS_CLEANUP_BIN
 endif
 
+ifeq ($(BR2_STATIC_LIBS),y)
+COREUTILS_CONF_OPTS += --enable-no-install-program=stdbuf
+endif
+
 define COREUTILS_CLEANUP
 	# link for archaic shells
 	ln -fs test $(TARGET_DIR)/usr/bin/[
-- 
2.4.3

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

* [Buildroot] [PATCH 1/1] coreutils: disable stdbuf for static builds
  2015-11-28 21:17 [Buildroot] [PATCH 1/1] coreutils: disable stdbuf for static builds David du Colombier
@ 2015-12-17 21:48 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2015-12-17 21:48 UTC (permalink / raw)
  To: buildroot

Dear David du Colombier,

On Sat, 28 Nov 2015 22:17:30 +0100, David du Colombier wrote:
> When stdbuf is enabled, it builds a shared library,
> but it will fail in a static-only scenario.
> 
> Signed-off-by: David du Colombier <0intro@gmail.com>
> ---
>  package/coreutils/coreutils.mk | 4 ++++
>  1 file changed, 4 insertions(+)

Applied, thanks. I've added a reference to the autobuilder failure that
this patch is fixing.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

end of thread, other threads:[~2015-12-17 21:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-28 21:17 [Buildroot] [PATCH 1/1] coreutils: disable stdbuf for static builds David du Colombier
2015-12-17 21:48 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox