forked from nuttx/nuttx-update
msys2: fix make[3]: warning: jobserver unavailable: using -j1.
fixed this error for msys2 ==================================================================================== Configuration/Tool: nucleo-l152re/nsh,CONFIG_ARM_TOOLCHAIN_GNU_EABI 2024-11-05 06:12:26 ------------------------------------------------------------------------------------ Cleaning... Configuring... make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
This commit is contained in:
parent
6833b8787e
commit
9bdc776b30
1 changed files with 5 additions and 1 deletions
|
@ -139,7 +139,11 @@ function run_builds {
|
|||
ncpus=$(grep -c ^processor /proc/cpuinfo)
|
||||
fi
|
||||
|
||||
options+="-j ${ncpus}"
|
||||
if [ "X$osname" == "Xmsys2" ]; then
|
||||
export MAKEFLAGS="-j"
|
||||
else
|
||||
options+="-j ${ncpus}"
|
||||
fi
|
||||
|
||||
for build in "${builds[@]}"; do
|
||||
"${nuttx}"/tools/testbuild.sh ${options} -e "-Wno-cpp -Werror" "${build}"
|
||||
|
|
Loading…
Reference in a new issue