summaryrefslogtreecommitdiffstats
path: root/bin/misc-functions.sh
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-04-01 16:57:08 +0000
committerZac Medico <zmedico@gentoo.org>2008-04-01 16:57:08 +0000
commit7196f2d18134250dabcd1a657f5021e7ae133046 (patch)
tree126c8e88293166f908b745e3bd079617b2d0bb91 /bin/misc-functions.sh
parent5efc03bbe77171bf654ae917683e0d02d4ce3d63 (diff)
downloadportage-7196f2d18134250dabcd1a657f5021e7ae133046.tar.gz
portage-7196f2d18134250dabcd1a657f5021e7ae133046.tar.bz2
portage-7196f2d18134250dabcd1a657f5021e7ae133046.zip
elevate the importance of 64bit clean code on 64bit hosts (trunk r5656)
svn path=/main/branches/2.1.2/; revision=9663
Diffstat (limited to 'bin/misc-functions.sh')
-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 67284f9e9..c8347afc8 100755
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -312,7 +312,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
if [[ ${abort} == "yes" ]] ; then
echo "Please do not file a Gentoo bug and instead" \