1 |
Author: zmedico |
2 |
Date: 2008-04-01 16:57:08 +0000 (Tue, 01 Apr 2008) |
3 |
New Revision: 9663 |
4 |
|
5 |
Modified: |
6 |
main/branches/2.1.2/bin/misc-functions.sh |
7 |
Log: |
8 |
elevate the importance of 64bit clean code on 64bit hosts (trunk r5656) |
9 |
|
10 |
|
11 |
Modified: main/branches/2.1.2/bin/misc-functions.sh |
12 |
=================================================================== |
13 |
--- main/branches/2.1.2/bin/misc-functions.sh 2008-04-01 06:55:27 UTC (rev 9662) |
14 |
+++ main/branches/2.1.2/bin/misc-functions.sh 2008-04-01 16:57:08 UTC (rev 9663) |
15 |
@@ -312,7 +312,11 @@ |
16 |
eqawarn " but will almost certainly crash on 64bit architectures." |
17 |
eqawarn "${f}" |
18 |
vecho -ne '\a\n' |
19 |
- abort="yes" |
20 |
+ # just warn on 32bit hosts but bail on 64bit hosts |
21 |
+ case ${CHOST} in |
22 |
+ alpha*|ia64*|powerpc64*|mips64*|sparc64*|x86_64*) die "this code is not 64bit clean";; |
23 |
+ *) abort="yes";; |
24 |
+ esac |
25 |
fi |
26 |
if [[ ${abort} == "yes" ]] ; then |
27 |
echo "Please do not file a Gentoo bug and instead" \ |
28 |
|
29 |
-- |
30 |
gentoo-commits@l.g.o mailing list |