Skip to content

Commit

Permalink
build(make): surround linker flag with quotes to allow whitespace
Browse files Browse the repository at this point in the history
Signed-off-by: Alf-Rune Siqveland <alf.rune@northern.tech>
  • Loading branch information
alfrunes committed Nov 5, 2024
1 parent fb06194 commit 9441256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/services/Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ $(binfile): $(GOFILES)
GOARCH=$(GOARCH) \
go build -o $(binfile) \
-ldflags '$(LDFLAGS)' \
-ldflags '-X github.com/mendersoftware/mender-server/pkg/version.version=$(VERSION)' \
-ldflags '-X "github.com/mendersoftware/mender-server/pkg/version.version=$(VERSION)"' \
$(BUILDFLAGS)

.PHONY: build
Expand Down

0 comments on commit 9441256

Please sign in to comment.