syncthing: fixup version detection
authorPaul Spooren <mail@aparcar.org>
Tue, 24 Mar 2020 02:21:10 +0000 (16:21 -1000)
committerPaul Spooren <mail@aparcar.org>
Tue, 24 Mar 2020 02:37:36 +0000 (16:37 -1000)
commitb85e387cc2dec49ccaf0063f2b109e5c6151de39
tree3d0c4d72eb7059eb7ed96023222cae4d9d05a320
parent43d0e0778950dc2d8801b03491da040de2f75601
syncthing: fixup version detection

Since upstream commit dc92994 the LDFLAGS used for settings the version
(and build host and user) changed resulting in "unknown" versions in
syncthing.

Correct version detection is important for syncthing to assure
compatibility with other running instances. The "unknown" version fails
to communicate and sync with correctly compiled instances.

This patch updates the syncthing Makefile to inject the correct
variables and thereby fixes the version detection in syncthing.

Signed-off-by: Paul Spooren <mail@aparcar.org>
utils/syncthing/Makefile