Skip to content

Commit

Permalink
Add my-build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
robertying committed Mar 9, 2019
1 parent 98829ff commit de8ea0d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
my-build.sh
build/
.DS_Store
10 changes: 10 additions & 0 deletions my-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

export ANDROID_NDK_HOME=$HOME/Library/Android/sdk/ndk-bundle
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"

./build.sh

0 comments on commit de8ea0d

Please sign in to comment.