summaryrefslogtreecommitdiffstats
path: root/lib/buildsystem
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-11-08 13:58:47 (EST)
committer P. J. McDermott <pjm@nac.net>2012-11-08 13:58:47 (EST)
commit8c6b9a513101ed62c8cff682f35b1cf752a69818 (patch)
treef1b2d5ea5d9e18b5495c1284fa3aac552766c676 /lib/buildsystem
parent11d3d0e4a22a657b709dbdc2dae832a5e38d1278 (diff)
Try to detect a suitable build system host arch.
Diffstat (limited to 'lib/buildsystem')
-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 9e76c1c..446e017 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}" 'autoconf')'
+ --build='$(oh_buildsystem_arch "${OPK_BUILD_ARCH}")'
"
if [ "${OPK_BUILD_ARCH}" != "${OPK_HOST_ARCH}" ]; then
_ohbsbac_arch_opts="${_ohbsbac_arch_opts}
--host='$(oh_buildsystem_arch \
- "${OPK_HOST_ARCH}" 'autoconf')'"
+ "${OPK_HOST_ARCH}")'"
fi
if [ -n "${_OH_BUILDSYSTEM_TARGET_ARCH}" ]; then
_ohbsbac_arch_opts="${_ohbsbac_arch_opts}
--target='$(oh_buildsystem_arch \
- "${_OH_BUILDSYSTEM_TARGET_ARCH}" 'autoconf')'"
+ "${_OH_BUILDSYSTEM_TARGET_ARCH}")'"
fi
if [ '@@MULTIARCH_LIBDIR@@' = 'true' ]; then