From: David du Colombier <0intro@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] coreutils: disable stdbuf for static builds
Date: Sat, 28 Nov 2015 22:17:30 +0100 [thread overview]
Message-ID: <1448745450-19283-1-git-send-email-0intro@gmail.com> (raw)
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
next reply other threads:[~2015-11-28 21:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-28 21:17 David du Colombier [this message]
2015-12-17 21:48 ` [Buildroot] [PATCH 1/1] coreutils: disable stdbuf for static builds Thomas Petazzoni
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=1448745450-19283-1-git-send-email-0intro@gmail.com \
--to=0intro@gmail.com \
--cc=buildroot@busybox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox