Skip to content

Commit

Permalink
Add pie build mode to all binary builds
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaokangwang committed May 4, 2024
1 parent 346ca66 commit 4c63a9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
- name: Build V2Ray
run: |
mkdir -p build_assets
go build -v -o build_assets/v2ray -trimpath -ldflags "-s -w -buildid=" ./main
go build -v -o build_assets/v2ray -trimpath -ldflags "-s -w -buildid=" -buildmode=pie ./main
- name: Rename Windows V2Ray
if: matrix.goos == 'windows'
Expand Down

0 comments on commit 4c63a9b

Please sign in to comment.