summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/autoconf.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-03-27 22:39:53 +0800
committerruki <[email protected]>2020-03-27 09:59:22 +0800
commitbbf30dbc869965a523ba20a0ca65be163fd80d06 (patch)
treed7b290a342daed2b02922e843973e92e2d682438 /xmake/modules/package/tools/autoconf.lua
parenteb477c19a1e5f4cf7cd8320dcca30d1562c285fc (diff)
improve android abi
Diffstat (limited to 'xmake/modules/package/tools/autoconf.lua')
-rw-r--r--xmake/modules/package/tools/autoconf.lua12
1 files changed, 7 insertions, 5 deletions
diff --git a/xmake/modules/package/tools/autoconf.lua b/xmake/modules/package/tools/autoconf.lua
index 4b83d12ef..c029b3d54 100644
--- a/xmake/modules/package/tools/autoconf.lua
+++ b/xmake/modules/package/tools/autoconf.lua
@@ -45,15 +45,17 @@ function _get_configs(package, configs)
-- @see https://developer.android.com/ndk/guides/other_build_systems#autoconf
local triples =
{
- ["armv5te"] = "arm-linux-androideabi",
- ["armv7-a"] = "arm-linux-androideabi",
+ ["armv5te"] = "arm-linux-androideabi", -- deprecated
+ ["armv7-a"] = "arm-linux-androideabi", -- deprecated
+ ["armeabi"] = "arm-linux-androideabi", -- removed in ndk r17
+ ["armeabi-v7a"] = "arm-linux-androideabi",
["arm64-v8a"] = "aarch64-linux-android",
i386 = "i686-linux-android",
x86_64 = "x86_64-linux-android",
- mips = "mips-linux-android",
- mips64 = "mips64-linux-android"
+ mips = "mips-linux-android", -- removed in ndk r17
+ mips64 = "mips64-linux-android" -- removed in ndk r17
}
- table.insert(configs, "--host=" .. (triples[package:arch()] or triples["armv7-a"]))
+ table.insert(configs, "--host=" .. (triples[package:arch()] or triples["armeabi-v7a"]))
elseif package:is_plat("mingw") then
local triples =
{