Skip to content

Commit

Permalink
make: remove redundant build flags
Browse files Browse the repository at this point in the history
  • Loading branch information
mmetc committed Sep 20, 2024
1 parent dbe32e3 commit 536ff91
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 @@ -20,7 +20,7 @@ LD_OPTS_VARS=\
-X 'github.com/crowdsecurity/go-cs-lib/version.Tag=$(BUILD_TAG)'

export CGO_ENABLED=0
export LD_OPTS=-ldflags "-a -s -w -extldflags '-static' $(LD_OPTS_VARS)" \
export LD_OPTS=-ldflags "-s -extldflags '-static' $(LD_OPTS_VARS)" \
-trimpath -tags netgo

.PHONY: all
Expand Down

0 comments on commit 536ff91

Please sign in to comment.