]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
make.sh: Fix MAKETUNING
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 1 Jun 2017 09:13:31 +0000 (10:13 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 1 Jun 2017 09:13:31 +0000 (10:13 +0100)
This variable was not passed any more after the toolchain stage
which caused builds to be very slow.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tools/make-functions

index 62f16642ffb30c158271507d206599b09daf7d36..8e40163fcddc688ff811d26475109392108bf2f4 100644 (file)
@@ -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=$?