From: Zac Medico Date: Tue, 1 Apr 2008 16:57:08 +0000 (-0000) Subject: elevate the importance of 64bit clean code on 64bit hosts (trunk r5656) X-Git-Tag: v2.1.5~266 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7196f2d18134250dabcd1a657f5021e7ae133046;p=portage.git elevate the importance of 64bit clean code on 64bit hosts (trunk r5656) svn path=/main/branches/2.1.2/; revision=9663 --- 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" \