We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 550edee + a0ed246 commit a0b6e04Copy full SHA for a0b6e04
Makefile
@@ -46,7 +46,7 @@ endif
46
# We only return the part inside the double quote here to avoid escape issues
47
# when calling the external release script. The second parameter can be used to
48
# add additional ldflags if needed (currently only used for the release).
49
-make_ldflags = $(2) -X $(PKG).Commit=$(COMMIT)
+make_ldflags = $(2) -X main.Commit=$(COMMIT)
50
51
DEV_GCFLAGS := -gcflags "all=-N -l"
52
LDFLAGS := -ldflags "$(call make_ldflags, ${tags}, -s -w)"
0 commit comments