build-syncthing.py: Remove GO BUILDID (fixes #1383)

to produce reproducible libsyncthingnative.so builds
ref: PR #1390
This commit is contained in:
Catfriend1 2025-05-11 15:40:36 +02:00
parent 13671fba7a
commit ce6888ce86

View File

@ -334,6 +334,7 @@ for target in BUILD_TARGETS:
'GOPATH': module_dir,
'GO111MODULE': 'on',
'CGO_ENABLED': '1',
'EXTRA_LDFLAGS': '-buildid=',
})
subprocess.check_call([go_bin, 'mod', 'download'], cwd=syncthing_dir)