Skip to content

Commit 68af548

Browse files
committed
fix(makefile): add missing flags for optimized build
1 parent 8beb921 commit 68af548

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ VERSION ?= $(shell git describe --tags --always --dirty 2>/dev/null || echo dev
22
COMMIT ?= $(shell git rev-parse --short HEAD 2>/dev/null || echo unknown)
33
DATE ?= $(shell date -u +%Y-%m-%dT%H:%M:%SZ)
44
PKG = github.com/tae2089/code-context-graph/cmd/ccg
5-
LDFLAGS = -X main.version=$(VERSION) -X main.commit=$(COMMIT) -X main.date=$(DATE)
5+
LDFLAGS = -s -w -X main.version=$(VERSION) -X main.commit=$(COMMIT) -X main.date=$(DATE)
66

77
.PHONY: build install test test-integration-helpers clean
88

0 commit comments

Comments
 (0)