diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-01-15 23:56:33 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-01-15 23:56:33 +0000 |
commit | 6e2bdbaef5a8e47562d129ab7951045cbcf14e05 (patch) | |
tree | da14fbc1dc1f1b92bba2071055e42f503752d812 | |
parent | d12e9731958accc6edc86055f5a93a1c9c43ae71 (diff) | |
download | portage-6e2bdbaef5a8e47562d129ab7951045cbcf14e05.tar.gz portage-6e2bdbaef5a8e47562d129ab7951045cbcf14e05.tar.bz2 portage-6e2bdbaef5a8e47562d129ab7951045cbcf14e05.zip |
elevate the importance of 64bit clean code on 64bit hosts
svn path=/main/trunk/; revision=5656
-rwxr-xr-x | bin/misc-functions.sh | 6 |
1 files changed, 5 insertions, 1 deletions
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 |