Skip to content

Commit

Permalink
Remove shared library flags
Browse files Browse the repository at this point in the history
  • Loading branch information
robertying committed May 30, 2021
1 parent 2d02091 commit 1e8c355
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions my-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export NDK=$HOME/Library/Android/sdk/ndk/22.1.7171670
export HOST_TAG=darwin-x86_64
export MIN_SDK_VERSION=21

export CFLAGS="-Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables"
export LDFLAGS="-Wl,-s -Wl,-Bsymbolic -Wl,--gc-sections"
export CFLAGS="-Os"
export LDFLAGS="-Wl,-Bsymbolic"

./build.sh

0 comments on commit 1e8c355

Please sign in to comment.