coreutils: disable stdbuf for static builds
PATCH 1/1 coreutils: disable stdbuf for static builds
When stdbuf is enabled, it builds a shared library, but it will fail in a static-only scenario.
Signed-off-by David du Colombier <[email protected]>
--- package/coreutils/coreutils.mk | 4 ++++ 1 file changed, 4 insertions(+)
package/coreutils/coreutils.mk +4 -0
@@ -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/[
Signature · 1 line
2.4.3
PATCH 1/1 coreutils: disable stdbuf for static builds
Dear David du Colombier,
Quoted 7 lines · David du Colombier
When stdbuf is enabled, it builds a shared library, but it will fail in a static-only scenario.
Signed-off-by David du Colombier <[email protected]>--- 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
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com