From fdc0944aa7125a536292e5d21973deda66ddab0f Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 1 Jun 2017 10:13:31 +0100 Subject: [PATCH] make.sh: Fix MAKETUNING This variable was not passed any more after the toolchain stage which caused builds to be very slow. Signed-off-by: Michael Tremer --- tools/make-functions | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/make-functions b/tools/make-functions index 62f16642ff..8e40163fcd 100644 --- a/tools/make-functions +++ b/tools/make-functions @@ -645,7 +645,9 @@ lfsmake2() { local PS1='\u:\w$ ' enterchroot \ - bash -x -c "cd /usr/src/lfs && make -f $* LFS_BASEDIR=/usr/src install" \ + bash -x -c "cd /usr/src/lfs && make -f $* \ + MAKETUNING=${MAKETUNING} \ + LFS_BASEDIR=/usr/src install" \ >> ${LOGFILE} 2>&1 local COMPILE_SUCCESS=$? -- 2.39.5