diff options
author | Alexey Neyman <stilor@att.net> | 2017-02-11 20:49:48 (GMT) |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-02-11 20:49:48 (GMT) |
commit | c8e82815331803bce45eb8f90b790dd235025259 (patch) | |
tree | 1b63cacb0686402c6facb7387f2eda281c8cf904 /scripts/build/companion_libs/110-mpfr.sh | |
parent | 7dfae65ce9511debb52cb2bb0303bab76012db47 (diff) |
Skip comp.libs checking on host for canadian
... they all want to run the binaries they produced, which fails
when build!=host.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/companion_libs/110-mpfr.sh')
-rw-r--r-- | scripts/build/companion_libs/110-mpfr.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/build/companion_libs/110-mpfr.sh b/scripts/build/companion_libs/110-mpfr.sh index 4b9bc64..a7b7f72 100644 --- a/scripts/build/companion_libs/110-mpfr.sh +++ b/scripts/build/companion_libs/110-mpfr.sh @@ -149,8 +149,13 @@ do_mpfr_backend() { CT_DoExecLog ALL make ${JOBSFLAGS} if [ "${CT_COMPLIBS_CHECK}" = "y" ]; then - CT_DoLog EXTRA "Checking MPFR" - CT_DoExecLog ALL make ${JOBSFLAGS} -s check + if [ "${host}" = "${CT_BUILD}" ]; then + CT_DoLog EXTRA "Checking MPFR" + CT_DoExecLog ALL make ${JOBSFLAGS} -s check + else + # Cannot run host binaries on build in a canadian cross + CT_DoLog EXTRA "Skipping check for MPFR on the host" + fi fi CT_DoLog EXTRA "Installing MPFR" |