MAKEFLAGS="-j$(($(nproc)+1))" produces problems on some machines and builds.
Commit cc7d44d2 produces problems when compiling wine-staging-git
for example. Changing it to: MAKEFLAGS="-j$(nproc)"
solved it.
That extra compile process produces errors like:
Error: can't open iphlpapi_dll_h.s for reading: Datei oder Verzeichnis nicht gefunden
/usr/bin/x86_64-w64-mingw32-dlltool: /usr/bin/x86_64-w64-mingw32-as exited with status 1
tools/winebuild/winebuild -b x86_64-w64-mingw32 -w --implib -o dlls/hal/libhal.cross.a --export \
../wine/dlls/hal/hal.spec
/usr/bin/x86_64-w64-mingw32-dlltool: failed to open temporary head file: iphlpapi_dll_h.o: Datei oder Verzeichnis nicht gefunden
winebuild: /usr/bin/x86_64-w64-mingw32-dlltool failed with status 1
make: *** [Makefile:75857: dlls/iphlpapi/libiphlpapi.cross.a] Fehler 1
make: *** Es wird auf noch nicht beendete Prozesse gewartet....
https://forum.manjaro.org/t/wine-staging-git-bricht-bei-der-installation-ab/111387
Edited by Erwin Groß