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
845ed66e5e
commit
430a006acf
|
@ -164,7 +164,7 @@ cp -r $BANAN_ROOT_DIR/libc/include $BANAN_SYSROOT/usr/include
|
|||
rm -rf $BANAN_TOOLCHAIN_PREFIX
|
||||
|
||||
if [[ -z ${MAKEFLAGS:x} ]]; then
|
||||
export MAKEFLAGS="-j$(proc)"
|
||||
export MAKEFLAGS="-j$(nproc)"
|
||||
fi
|
||||
|
||||
mkdir -p $BANAN_BUILD_DIR/toolchain
|
||||
|
|
Loading…
Reference in New Issue