Skip to content
Snippets Groups Projects
Commit 845fecb9 authored by kaiyou's avatar kaiyou
Browse files

Properly build a PIE binary

parent 9550262e
No related branches found
No related tags found
1 merge request!13refactor(#5): roles
Pipeline #34067 failed
......@@ -7,7 +7,7 @@ compile:
image: golang:alpine
script:
- source ./env
- go build -tags "$TAGS" -ldflags "$LDFLAGS" ./cmd/hepto.go
- go build -buildmode=pie -tags "$TAGS" -ldflags "$LDFLAGS" ./cmd/hepto.go
artifacts:
paths:
- hepto
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment