summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/buildsystem/autoconf.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/buildsystem/autoconf.sh b/lib/buildsystem/autoconf.sh
index c4a0b43..cc727e7 100644
--- a/lib/buildsystem/autoconf.sh
+++ b/lib/buildsystem/autoconf.sh
@@ -33,17 +33,17 @@ _oh_autoconf_configure()
cd "${_OH_BUILDSYSTEM_BUILD_DIR}"
_ohbsbac_arch_opts="
- --build=$(oh_buildsystem_arch "${OPK_BUILD_ARCH}")
+ --build=$(oh_buildsystem_arch "${OPK_BUILD_ARCH}" 'autoconf')
"
if [ "${OPK_BUILD_ARCH}" != "${OPK_HOST_ARCH}" ]; then
_ohbsbac_arch_opts="${_ohbsbac_arch_opts}
--host=$(oh_buildsystem_arch \
- "${OPK_HOST_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}")"
+ "${_OH_BUILDSYSTEM_TARGET_ARCH}" 'autoconf')"
fi
if [ '@@MULTIARCH_LIBDIR@@' = 'true' ]; then