common: show value of nocross when it is set.

Manual.md says:

"This should be set to a string describing why it fails, or a link to
 a travis buildlog demonstrating the failure."
This commit is contained in:
maxice8 2018-05-01 11:28:30 -03:00 committed by Toyam Cox
parent f47367acac
commit ac4a294ba4
1 changed files with 1 additions and 0 deletions

View File

@ -555,6 +555,7 @@ setup_pkg() {
if [ "$cross" -a "$nocross" -a "z$show_problems" != "zignore-problems" ]; then
msg_red "$pkgver: cannot be cross compiled, exiting...\n"
msg_red "$pkgver: $nocross\n"
exit 2
elif [ "$broken" -a "z$show_problems" != "zignore-problems" ]; then
msg_red "$pkgver: cannot be built, it's currently broken; see the build log:\n"