mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user