summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-01-15 23:56:33 +0000
committerMike Frysinger <vapier@gentoo.org>2007-01-15 23:56:33 +0000
commit6e2bdbaef5a8e47562d129ab7951045cbcf14e05 (patch)
treeda14fbc1dc1f1b92bba2071055e42f503752d812
parentMake invalid deps non-fatal for some phases. (diff)
downloadportage-multirepo-6e2bdbaef5a8e47562d129ab7951045cbcf14e05.tar.gz
portage-multirepo-6e2bdbaef5a8e47562d129ab7951045cbcf14e05.tar.bz2
portage-multirepo-6e2bdbaef5a8e47562d129ab7951045cbcf14e05.zip
elevate the importance of 64bit clean code on 64bit hosts
svn path=/main/trunk/; revision=5656
-rwxr-xr-xbin/misc-functions.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index cb362945..cb393629 100755
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -320,7 +320,11 @@ install_qa_check() {
eqawarn " but will almost certainly crash on 64bit architectures."
eqawarn "${f}"
vecho -ne '\a\n'
- abort="yes"
+ # just warn on 32bit hosts but bail on 64bit hosts
+ case ${CHOST} in
+ alpha*|ia64*|powerpc64*|mips64*|sparc64*|x86_64*) die "this code is not 64bit clean";;
+ *) abort="yes";;
+ esac
fi
[[ ${abort} == "yes" ]] && hasq stricter ${FEATURES} && die "poor code kills airplanes"
fi