projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d12e973
)
elevate the importance of 64bit clean code on 64bit hosts
author
Mike Frysinger
<vapier@gentoo.org>
Mon, 15 Jan 2007 23:56:33 +0000
(23:56 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Mon, 15 Jan 2007 23:56:33 +0000
(23:56 -0000)
svn path=/main/trunk/; revision=5656
bin/misc-functions.sh
patch
|
blob
|
history
diff --git
a/bin/misc-functions.sh
b/bin/misc-functions.sh
index cb36294531c247e3a87847a1f1266e9f81519341..cb393629763219a053dcf7a01f62be996b4bb83b 100755
(executable)
--- 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