From 7196f2d18134250dabcd1a657f5021e7ae133046 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 1 Apr 2008 16:57:08 +0000 Subject: elevate the importance of 64bit clean code on 64bit hosts (trunk r5656) svn path=/main/branches/2.1.2/; revision=9663 --- bin/misc-functions.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bin') 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" \ -- cgit v1.2.3-1-g7c22