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.
This commit is contained in:
q66 2021-10-12 22:35:38 +02:00
parent 0bf5d7bf28
commit e51fe8bfe0

View file

@ -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 \