diff options
author | P. J. McDermott <pjm@nac.net> | 2012-11-14 16:01:44 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-11-14 16:01:44 (EST) |
commit | 36b18dbf8d85cc7bed6c15603ed45d50ec78a347 (patch) | |
tree | 31a17427f646f902ff1106d8f63de66478c9ee35 /lib | |
parent | 25f46498fdee6e59f334a56d99b7e76d2a97ed82 (diff) |
Pass the test arch to oh_buildsystem_do().
Diffstat (limited to 'lib')
-rw-r--r-- | lib/buildsystem.sh | 3 |
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 ${?} |