Toolchain: Fix typo when setting make flags
I defaultet MAKEFLAGS to -j which will launch processes in parallel without any limit.
This commit is contained in:
parent
8e5224ef53
commit
bc8fd1285f
|
@ -164,7 +164,7 @@ cp -r $BANAN_ROOT_DIR/libc/include $BANAN_SYSROOT/usr/include
|
||||||
rm -rf $BANAN_TOOLCHAIN_PREFIX
|
rm -rf $BANAN_TOOLCHAIN_PREFIX
|
||||||
|
|
||||||
if [[ -z ${MAKEFLAGS:x} ]]; then
|
if [[ -z ${MAKEFLAGS:x} ]]; then
|
||||||
export MAKEFLAGS="-j$(proc)"
|
export MAKEFLAGS="-j$(nproc)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p $BANAN_BUILD_DIR/toolchain
|
mkdir -p $BANAN_BUILD_DIR/toolchain
|
||||||
|
|
Loading…
Reference in New Issue