summaryrefslogtreecommitdiffstats
path: root/lib/buildsystem.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/buildsystem.sh')
-rw-r--r--lib/buildsystem.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/buildsystem.sh b/lib/buildsystem.sh
index 9524835..110f0a9 100644
--- a/lib/buildsystem.sh
+++ b/lib/buildsystem.sh
@@ -155,7 +155,8 @@ oh_buildsystem_arch()
# Try to find a suitable build system host arch.
for _ohbsa_bs_arch in $(cat '@@ARCHTAB@@/'"${_ohbsa_arch}/${_ohbsa_system}")
do
- if oh_buildsystem_do 'testarch' "${_ohbsa_system}"; then
+ if oh_buildsystem_do 'testarch' "${_ohbsa_system}" "${_ohbsa_bs_arch}"
+ then
printf '%s\n' "${_ohbsa_bs_arch}"
_oh_return 0
return ${?}