Skip to content

Commit

Permalink
remove faulty buildmode pie logic
Browse files Browse the repository at this point in the history
  • Loading branch information
jackgopack4 committed Oct 29, 2024
1 parent fabf90e commit 88521cf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion cmd/goreleaser/internal/configure.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ func Build(dist string) config.Build {
goos = K8sGoos
archs = K8sArchs
ignore = make([]config.IgnoredBuild, 0)
flags = append(flags, "-buildmode=pie")
armVersions = make([]string, 0)
} else {
goos = []string{"darwin", "linux", "windows"}
Expand Down
1 change: 0 additions & 1 deletion distributions/otelcol-k8s/.goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ builds:
- -w
flags:
- -trimpath
- -buildmode=pie
env:
- CGO_ENABLED=0
archives:
Expand Down

0 comments on commit 88521cf

Please sign in to comment.