Skip to content

Commit

Permalink
chore: disable pie.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP authored and poiana committed Nov 15, 2023
1 parent 93b7884 commit 04612f6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ jobs:
with:
distribution: goreleaser
version: ${{ env.GITHUB_REF_NAME }}
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 0 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ builds:
main: .
flags:
- -v
- -buildmode=pie
binary: syscalls-bumper

dockers:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ bumper ?= build/syscalls-bumper
build: clean ${bumper}

${bumper}:
CGO_ENABLED=0 go build -v -buildmode=pie -o $@ .
CGO_ENABLED=0 go build -v -o $@ .

.PHONY: clean
clean:
Expand Down

0 comments on commit 04612f6

Please sign in to comment.