aboutsummaryrefslogtreecommitdiff
path: root/depends/packages/zlib.mk
diff options
context:
space:
mode:
authorBlock Mechanic <blockmecha@gmail.com>2019-10-18 22:03:51 +0200
committerIgor Cota <igor@codexapertus.com>2019-10-18 22:24:21 +0200
commitf9af3ced1c69d65c5c530ec5526f5eefaf786126 (patch)
tree0ac3898a55bfa71e69a1ea8cadceb5e3eb8b6987 /depends/packages/zlib.mk
parentd419ca7e32bfc71e8dd1f1b91870463eacd6ad8e (diff)
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/zlib.mk')
-rw-r--r--depends/packages/zlib.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/depends/packages/zlib.mk b/depends/packages/zlib.mk
index 017e7b2cf1..acb02020a8 100644
--- a/depends/packages/zlib.mk
+++ b/depends/packages/zlib.mk
@@ -11,7 +11,7 @@ $(package)_config_opts+=RANLIB="$($(package)_ranlib)"
$(package)_config_opts+=AR="$($(package)_ar)"
$(package)_config_opts_darwin+=AR="$($(package)_libtool)"
$(package)_config_opts_darwin+=ARFLAGS="-o"
-$(package)_config_opts_aarch64_android+=CHOST=$(host)
+$(package)_config_opts_android+=CHOST=$(host)
endef
# zlib has its own custom configure script that takes in options like CC,