diff options
author | Alexey Neyman <stilor@att.net> | 2017-02-12 19:19:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-12 19:19:31 (GMT) |
commit | c31ed45a65e9e30fe2000bf1704583038522646e (patch) | |
tree | 14e916f7340d010ac5dfee281acd91bd6d89fe2e /scripts/build/companion_libs/100-gmp.sh | |
parent | 5676c72d521cea0c67ec3624028b89fdfac1d291 (diff) | |
parent | c8e82815331803bce45eb8f90b790dd235025259 (diff) |
Merge pull request #589 from stilor/skip-complibs-check-on-host-canadian
Skip complibs check on host for canadian
Diffstat (limited to 'scripts/build/companion_libs/100-gmp.sh')
-rw-r--r-- | scripts/build/companion_libs/100-gmp.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/build/companion_libs/100-gmp.sh b/scripts/build/companion_libs/100-gmp.sh index 6b526c8..c81874a 100644 --- a/scripts/build/companion_libs/100-gmp.sh +++ b/scripts/build/companion_libs/100-gmp.sh @@ -106,8 +106,13 @@ do_gmp_backend() { CT_DoExecLog ALL make ${JOBSFLAGS} if [ "${CT_COMPLIBS_CHECK}" = "y" ]; then - CT_DoLog EXTRA "Checking GMP" - CT_DoExecLog ALL make ${JOBSFLAGS} -s check + if [ "${host}" = "${CT_BUILD}" ]; then + CT_DoLog EXTRA "Checking GMP" + CT_DoExecLog ALL make ${JOBSFLAGS} -s check + else + # Cannot run host binaries on build in a canadian cross + CT_DoLog EXTRA "Skipping check for GMP on the host" + fi fi CT_DoLog EXTRA "Installing GMP" |