From 36b18dbf8d85cc7bed6c15603ed45d50ec78a347 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 14 Nov 2012 16:01:44 -0500 Subject: Pass the test arch to oh_buildsystem_do(). --- 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 ${?} -- cgit v0.9.1