diff options
author | Howard Chu <hyc@symas.com> | 2019-11-01 03:38:13 +0000 |
---|---|---|
committer | Howard Chu <hyc@symas.com> | 2019-11-03 21:16:56 +0000 |
commit | d904ffbaca6aa75ed5f410872a714bf2fd46a00c (patch) | |
tree | c8414b27be7c20b916149a4585e0453a673eae57 /contrib/depends/hosts | |
parent | Merge pull request #6079 (diff) | |
download | monero-d904ffbaca6aa75ed5f410872a714bf2fd46a00c.tar.xz |
Add Android support
Diffstat (limited to 'contrib/depends/hosts')
-rw-r--r-- | contrib/depends/hosts/android.mk | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/depends/hosts/android.mk b/contrib/depends/hosts/android.mk new file mode 100644 index 000000000..2a24435d4 --- /dev/null +++ b/contrib/depends/hosts/android.mk @@ -0,0 +1,20 @@ +ANDROID_API=21 + +ifeq ($(host_arch),arm) +host_toolchain=arm-linux-androideabi- +endif + +android_CC=$(host_toolchain)clang +android_CXX=$(host_toolchain)clang++ + +android_CFLAGS=-pipe +android_CXXFLAGS=$(android_CFLAGS) + +android_release_CFLAGS=-O2 +android_release_CXXFLAGS=$(android_release_CFLAGS) + +android_debug_CFLAGS=-g -O0 +android_debug_CXXFLAGS=$(android_debug_CFLAGS) + +android_native_toolchain=android_ndk + |