Skip to content

Commit

Permalink
add stack protection android binary.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ginder-Singh committed Oct 10, 2023
1 parent 65a3c6d commit 21feae3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build_android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ go install golang.org/x/mobile/cmd/gomobile@latest
gomobile init
mkdir build
cd proxy
export CGO_ENABLED=1
export CGO_CFLAGS="-fstack-protector-strong"
gomobile bind -o ../build/proxy.aar -javapkg com.windscribe -ldflags "-s -w"
echo 'Build successful...'

0 comments on commit 21feae3

Please sign in to comment.