From e51fe8bfe0c65a94d610ef59da23b4f2dcdffa47 Mon Sep 17 00:00:00 2001 From: q66 Date: Tue, 12 Oct 2021 22:35:38 +0200 Subject: [PATCH] build-style/meson: ensure stdout is unbuffered for continuous log This should deal with the annoying thing that meson will only print its configure output all at once at the end. --- common/build-style/meson.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/build-style/meson.sh b/common/build-style/meson.sh index c59fd7d984d..ab9f2cacfd0 100644 --- a/common/build-style/meson.sh +++ b/common/build-style/meson.sh @@ -102,7 +102,8 @@ do_configure() { # We also force gcc-ar usage in the crossfile above. export AR="gcc-ar" - ${meson_cmd} \ + # unbuffered output for continuous logging + PYTHONUNBUFFERED=1 ${meson_cmd} \ --prefix=/usr \ --libdir=/usr/lib${XBPS_TARGET_WORDSIZE} \ --libexecdir=/usr/libexec \