mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
make.sh: Correctly set environment variables in toolchain pass
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -607,21 +607,21 @@ lfsmake1() {
|
||||
|
||||
cd $BASEDIR/lfs && env -i \
|
||||
PATH="/tools/ccache/bin:/tools/bin:$PATH" \
|
||||
CCACHE_DIR="${CCACHE_DIR}" \
|
||||
CCACHE_COMPRESS="${CCACHE_COMPRESS}" \
|
||||
CCACHE_COMPILERCHECK="${CCACHE_COMPILERCHECK}" \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
CXXFLAGS="${CXXFLAGS}" \
|
||||
make -f $* \
|
||||
TOOLCHAIN=1 \
|
||||
CROSSTARGET="${CROSSTARGET}" \
|
||||
BUILDTARGET="${BUILDTARGET}" \
|
||||
BUILD_ARCH="${BUILD_ARCH}" \
|
||||
BUILD_PLATFORM="${BUILD_PLATFORM}" \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
CXXFLAGS="${CXXFLAGS}" \
|
||||
LFS_BASEDIR="${BASEDIR}" \
|
||||
ROOT="${LFS}" \
|
||||
KVER="${KVER}" \
|
||||
MAKETUNING="${MAKETUNING}" \
|
||||
CCACHE_DIR="${CCACHE_DIR}" \
|
||||
CCACHE_COMPRESS="${CCACHE_COMPRESS}" \
|
||||
CCACHE_COMPILERCHECK="${CCACHE_COMPILERCHECK}" \
|
||||
install >> $LOGFILE 2>&1
|
||||
|
||||
local COMPILE_SUCCESS=$?
|
||||
|
||||
Reference in New Issue
Block a user