From: Mike Frysinger Date: Mon, 15 Jan 2007 23:56:33 +0000 (-0000) Subject: elevate the importance of 64bit clean code on 64bit hosts X-Git-Tag: v2.1.2-r1~35 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6e2bdbaef5a8e47562d129ab7951045cbcf14e05;p=portage.git elevate the importance of 64bit clean code on 64bit hosts svn path=/main/trunk/; revision=5656 --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index cb3629453..cb3936297 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