Make 'make' more resilient

This commit is contained in:
2024-04-24 11:23:44 -04:00
parent fcf71c9d49
commit b5d13f000e

View File

@@ -682,7 +682,10 @@ fromSource() {
if ! execute make "${make_opts[@]}" world; then
echo "Error: make failed, retrying using slow mode"
execute make V=s -j1 dirclean
execute make V=s -j1 world
if ! execute make V=s -j1 world; then
echo "Error: slow make failed"
return 1
fi
fi
popd || return 1