diff options
author | Block Mechanic <blockmecha@gmail.com> | 2019-10-18 22:03:51 +0200 |
---|---|---|
committer | Igor Cota <igor@codexapertus.com> | 2019-10-18 22:24:21 +0200 |
commit | f9af3ced1c69d65c5c530ec5526f5eefaf786126 (patch) | |
tree | 0ac3898a55bfa71e69a1ea8cadceb5e3eb8b6987 /depends/packages/boost.mk | |
parent | d419ca7e32bfc71e8dd1f1b91870463eacd6ad8e (diff) | |
download | bitcoin-f9af3ced1c69d65c5c530ec5526f5eefaf786126.tar.xz |
Android: add all arch support
Add support for armv7a, i686 and x86_64 archs to android.mk
Add -fPIC to depends file as anddroid requires it see https://stackoverflow.com/questions/30498776/position-independent-executables-and-android
Diffstat (limited to 'depends/packages/boost.mk')
-rw-r--r-- | depends/packages/boost.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/depends/packages/boost.mk b/depends/packages/boost.mk index 5df49b2af8..5dfa1d2cdf 100644 --- a/depends/packages/boost.mk +++ b/depends/packages/boost.mk @@ -15,6 +15,10 @@ $(package)_config_opts_mingw32=binary-format=pe target-os=windows threadapi=win3 $(package)_config_opts_x86_64_mingw32=address-model=64 $(package)_config_opts_i686_mingw32=address-model=32 $(package)_config_opts_i686_linux=address-model=32 architecture=x86 +$(package)_config_opts_i686_android=address-model=32 +$(package)_config_opts_aarch64_android=address-model=64 +$(package)_config_opts_x86_64_android=address-model=64 +$(package)_config_opts_armv7a_android=address-model=32 $(package)_toolset_$(host_os)=gcc $(package)_archiver_$(host_os)=$($(package)_ar) $(package)_toolset_darwin=darwin @@ -22,6 +26,7 @@ $(package)_archiver_darwin=$($(package)_libtool) $(package)_config_libraries=chrono,filesystem,system,thread,test $(package)_cxxflags=-std=c++11 -fvisibility=hidden $(package)_cxxflags_linux=-fPIC +$(package)_cxxflags_android=-fPIC endef define $(package)_preprocess_cmds |