Skip to content

Commit

Permalink
chore: add -buildmode=pie (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
shenghuang147 authored Aug 9, 2023
1 parent 11d9a73 commit 1017624
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 @@ -41,7 +41,7 @@ endif
## Begin Dae Build
dae: export GOOS=linux
dae: ebpf
go build -o $(OUTPUT) -trimpath -ldflags "-s -w -X github.com/daeuniverse/dae/cmd.Version=$(VERSION) -X github.com/daeuniverse/dae/common/consts.MaxMatchSetLen_=$(MAX_MATCH_SET_LEN)" .
go build -o $(OUTPUT) -trimpath -buildmode=pie -ldflags "-s -w -X github.com/daeuniverse/dae/cmd.Version=$(VERSION) -X github.com/daeuniverse/dae/common/consts.MaxMatchSetLen_=$(MAX_MATCH_SET_LEN)" .
## End Dae Build

## Begin Git Submodules
Expand Down

0 comments on commit 1017624

Please sign in to comment.