From 6e2bdbaef5a8e47562d129ab7951045cbcf14e05 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 15 Jan 2007 23:56:33 +0000 Subject: [PATCH] elevate the importance of 64bit clean code on 64bit hosts svn path=/main/trunk/; revision=5656 --- bin/misc-functions.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.26.2