diff mbox

[1/1] package/gzip: fix musl build

Message ID 1453653149-16537-1-git-send-email-bernd.kuhls@t-online.de
State Accepted
Headers show

Commit Message

Bernd Kuhls Jan. 24, 2016, 4:32 p.m. UTC
Inspired by http://patchwork.openembedded.org/patch/111691/
Adding "gl_cv_func_fflush_stdin=yes" was sufficient to fix the build.

Fixes
http://autobuild.buildroot.net/results/56d/56d926fcf8ca53cddb9106617e3b852d9c9a4eeb/
http://autobuild.buildroot.net/results/4b5/4b5a6196b686030cf7fa9706508fd99f81a81049/
http://autobuild.buildroot.net/results/568/568c1c05800d6bdd6457845e998a598e354afdfd/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/gzip/gzip.mk | 1 +
 1 file changed, 1 insertion(+)

Comments

Thomas Petazzoni Jan. 25, 2016, 10:11 p.m. UTC | #1
Dear Bernd Kuhls,

On Sun, 24 Jan 2016 17:32:29 +0100, Bernd Kuhls wrote:
> Inspired by http://patchwork.openembedded.org/patch/111691/
> Adding "gl_cv_func_fflush_stdin=yes" was sufficient to fix the build.
> 
> Fixes
> http://autobuild.buildroot.net/results/56d/56d926fcf8ca53cddb9106617e3b852d9c9a4eeb/
> http://autobuild.buildroot.net/results/4b5/4b5a6196b686030cf7fa9706508fd99f81a81049/
> http://autobuild.buildroot.net/results/568/568c1c05800d6bdd6457845e998a598e354afdfd/
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/gzip/gzip.mk | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks.

Thomas
diff mbox

Patch

diff --git a/package/gzip/gzip.mk b/package/gzip/gzip.mk
index 4ae2ae0..1b2f678 100644
--- a/package/gzip/gzip.mk
+++ b/package/gzip/gzip.mk
@@ -13,5 +13,6 @@  GZIP_CONF_OPTS = --exec-prefix=/
 GZIP_DEPENDENCIES = $(if $(BR2_PACKAGE_BUSYBOX),busybox)
 GZIP_LICENSE = GPLv3+
 GZIP_LICENSE_FILES = COPYING
+GZIP_CONF_ENV += gl_cv_func_fflush_stdin=yes
 
 $(eval $(autotools-package))