Skip to content

Commit

Permalink
added -s -w options for make binary
Browse files Browse the repository at this point in the history
  • Loading branch information
Himangini committed Jan 25, 2023
1 parent ad127d9 commit 22c20fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ build: generate-always binary ## Generate, lint and build eksctl binary for curr

.PHONY: binary
binary: ## Build eksctl binary for current OS and place it at ./eksctl
CGO_ENABLED=0 go build -ldflags "-X $(version_pkg).gitCommit=$(git_commit) -X $(version_pkg).buildDate=$(build_date)" ./cmd/eksctl
CGO_ENABLED=0 go build -ldflags "-s -w -X $(version_pkg).gitCommit=$(git_commit) -X $(version_pkg).buildDate=$(build_date)" ./cmd/eksctl


.PHONY: build-all
Expand Down

0 comments on commit 22c20fb

Please sign in to comment.