syncthing can't use the normal MODGO_FLAGS to pick up MAKE_JOBS,

so instead set it via GOMAXPROCS in the environment. avoids go
autodetecting how many CPUs are in the machine. ok edd
This commit is contained in:
sthen
2025-07-22 20:20:25 +00:00
parent a5bafd3151
commit fd14acca04
+2
View File
@@ -28,6 +28,8 @@ MODGO_TYPE = bin
# so we package only these binaries.
ST_CMDS = syncthing stdiscosrv strelaysrv
MAKE_ENV = GOMAXPROCS=${MAKE_JOBS}
# If at any point quic is busted for our in-tree go version, then you can
# temporarily add `-tags noquic` to at least get syncthing building (albeit
# without quic support obviously). When you do that, some more tests will fail.