diff options
author | P. J. McDermott <pjm@nac.net> | 2012-11-06 18:03:44 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-11-06 18:05:28 (EST) |
commit | c992d8f67d4e9794d70da0e9617db5d6944daee4 (patch) | |
tree | 20b6d98a70f914d11d61f7440571ad3e8eac2625 /lib/buildsystem | |
parent | 36a536b814cebae2b63ad4eb1070d1167c519f1e (diff) |
Support a -T option for a cross build target.
Diffstat (limited to 'lib/buildsystem')
-rw-r--r-- | lib/buildsystem/autoconf.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/buildsystem/autoconf.sh b/lib/buildsystem/autoconf.sh index 39d26d5..a1ae3ea 100644 --- a/lib/buildsystem/autoconf.sh +++ b/lib/buildsystem/autoconf.sh @@ -40,6 +40,11 @@ _oh_autoconf_configure() --host='$(oh_buildsystem_arch \ "${OPK_HOST_ARCH}" 'autoconf')'" fi + if [ -n "${_OH_BUILDSYSTEM_TARGET_ARCH}" ]; then + _ohbsbac_arch_opts="${_ohbsbac_arch_opts} + --target='$(oh_buildsystem_arch \ + "${_OH_BUILDSYSTEM_TARGET_ARCH}" 'autoconf')'" + fi "${_OH_BUILDSYSTEM_SOURCE_DIR}/configure" \ --prefix='/usr' \ |