Skip to content

Commit a29e66d

Browse files
Merge pull request #42 from basecamp/strip-symbols
Strip symbol/debugging info from production builds
2 parents 8ef0877 + f3852b7 commit a29e66d

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
@@ -3,7 +3,7 @@
33
PLATFORMS = linux darwin
44
ARCHITECTURES = amd64 arm64
55
VERSION := $(shell git describe --tags --always)
6-
LDFLAGS := -ldflags "-X 'github.com/basecamp/once/internal/version.Version=$(VERSION)'"
6+
LDFLAGS := -ldflags "-s -w -X 'github.com/basecamp/once/internal/version.Version=$(VERSION)'"
77

88
TEST_RELEASE_TAG = v0.0.1-test
99

0 commit comments

Comments
 (0)