aboutsummaryrefslogtreecommitdiffstats
path: root/worker/worker_enabled.go
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2022-03-28 14:33:17 +0200
committerRobin Jarry <robin@jarry.cc>2022-04-06 15:37:00 +0200
commit247c6c74380a9e56527ec0a87965a39142ffc213 (patch)
tree391f86d8ee294c6629cd0f2899f945fb1602fb31 /worker/worker_enabled.go
parent2fd9cef568e30488f04b6134c81e656cf2a02e95 (diff)
downloadaerc-247c6c74380a9e56527ec0a87965a39142ffc213.tar.gz
mk: rename ambiguous LDFLAGS variable
The LDFLAGS environment variable is usually indented for C the linker flags which are not compatible with go -ldflags. Use a more explicit GO_LDFLAGS variable instead. Allow adding extra flags without overriding the default ones by specifying GO_EXTRA_LDFLAGS. This may break the build on some distros that rely on setting LDFLAGS to change the default shareDir or version. They will have to switch to GO_EXTRA_LDFLAGS. Link: https://salsa.debian.org/go-team/packages/aerc/-/commit/e9ed90beae9f Link: https://src.fedoraproject.org/rpms/aerc/blob/f36/f/aerc.spec#_86 Fixes: e7e22aba60ce ("mk: rebuild if goflags or ldflags have changed") Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker/worker_enabled.go')
0 files changed, 0 insertions, 0 deletions