From 1870b56894dd633a6c1ab49d3bf6857b3d6f75c1 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sun, 14 Nov 2021 15:18:38 +0100 Subject: [PATCH] Ensure that MAKE_TERM(OUT|ERR) are unset Some packages use those variables to determine whether they are talking to a terminal, and issue color codes that mess our logs if the top level make has been launched from a terminal. --- BLFS/xsl/scripts.xsl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/BLFS/xsl/scripts.xsl b/BLFS/xsl/scripts.xsl index 4b98fbc..5561af7 100644 --- a/BLFS/xsl/scripts.xsl +++ b/BLFS/xsl/scripts.xsl @@ -215,8 +215,13 @@ export JH_KEEP_FILES=" + their top level Makefile is at level zero. + Some packages (cmake) use MAKE_TERMOUT and MAKE_TERMERR to determine + whether they are talking to a terminal. + In our case, stdout/stderr are always redirected, so unset them.--> unset MAKELEVEL +unset MAKE_TERMOUT +unset MAKE_TERMERR