diff options
Diffstat (limited to 'scripts/build/companion_libs/140-mpc.sh')
-rw-r--r-- | scripts/build/companion_libs/140-mpc.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/build/companion_libs/140-mpc.sh b/scripts/build/companion_libs/140-mpc.sh index acb5fd3..e6efb4f 100644 --- a/scripts/build/companion_libs/140-mpc.sh +++ b/scripts/build/companion_libs/140-mpc.sh @@ -100,8 +100,13 @@ do_mpc_backend() { CT_DoExecLog ALL make ${JOBSFLAGS} if [ "${CT_COMPLIBS_CHECK}" = "y" ]; then - CT_DoLog EXTRA "Checking MPC" - CT_DoExecLog ALL make ${JOBSFLAGS} -s check + if [ "${host}" = "${CT_BUILD}" ]; then + CT_DoLog EXTRA "Checking MPC" + CT_DoExecLog ALL make ${JOBSFLAGS} -s check + else + # Cannot run host binaries on build in a canadian cross + CT_DoLog EXTRA "Skipping check for MPC on the host" + fi fi CT_DoLog EXTRA "Installing MPC" |