mirror of
https://github.com/daeuniverse/dae.git
synced 2024-12-23 01:24:45 +07:00
chore: add -buildmode=pie (#266)
This commit is contained in:
parent
11d9a732b7
commit
1017624381
2
Makefile
2
Makefile
@ -41,7 +41,7 @@ endif
|
|||||||
## Begin Dae Build
|
## Begin Dae Build
|
||||||
dae: export GOOS=linux
|
dae: export GOOS=linux
|
||||||
dae: ebpf
|
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
|
## End Dae Build
|
||||||
|
|
||||||
## Begin Git Submodules
|
## Begin Git Submodules
|
||||||
|
Loading…
Reference in New Issue
Block a user