diff options
author | David du Colombier <0intro@gmail.com> | 2015-11-28 22:17:30 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-12-17 22:47:34 +0100 |
commit | dc3b03dcdc9a8c7b763103297fc19929357c1ca7 (patch) | |
tree | a5fd7954af76b1d82c9d20216fcd27be8bcea0c3 /package/coreutils | |
parent | 326b0f37d571e78f36e41b50f8b508ce3842ccda (diff) | |
download | buildroot-dc3b03dcdc9a8c7b763103297fc19929357c1ca7.tar.gz buildroot-dc3b03dcdc9a8c7b763103297fc19929357c1ca7.zip |
coreutils: disable stdbuf for static builds
When stdbuf is enabled, it builds a shared library, but it will fail
in a static-only scenario.
Fixes:
http://autobuild.buildroot.org/results/974/9741cc9841fa95f7430a91f585c4464ee2c9311b/
Signed-off-by: David du Colombier <0intro@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/coreutils')
-rw-r--r-- | package/coreutils/coreutils.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/coreutils/coreutils.mk b/package/coreutils/coreutils.mk index 60455ace7a..d8e2ee6198 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/[ |