Skip to content

Commit

Permalink
GOFLAGS="-buildmode=pie"
Browse files Browse the repository at this point in the history
Position-independent executables
  • Loading branch information
simon04 authored and hillu committed Dec 13, 2021
1 parent e3b46f5 commit 3137204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- name: Build
run: |
export GOFLAGS="-trimpath"
export GOFLAGS="-buildmode=pie -trimpath"
go version
go build .
GOOS=windows go build .
Expand Down

0 comments on commit 3137204

Please sign in to comment.