Skip to content

Commit

Permalink
Add ldflags to build cmd to adjust build size
Browse files Browse the repository at this point in the history
  • Loading branch information
pskrbasu committed Nov 22, 2024
1 parent f417e9b commit 7435bf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/out/Makefile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ ifeq ($(shell uname -s),Darwin)
endif

build:
go build -tags "$(BUILD_TAGS)" -buildmode=c-shared -o steampipe_sqlite_{{.Plugin}}.so
go build -tags "$(BUILD_TAGS)" -buildmode=c-shared -ldflags="-w -s" -o steampipe_sqlite_{{.Plugin}}.so

0 comments on commit 7435bf5

Please sign in to comment.