summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Crête <tester@gentoo.org>2003-07-18 20:11:22 +0000
committerOlivier Crête <tester@gentoo.org>2003-07-18 20:11:22 +0000
commit9653037f26fa57f6c579030859825420a9ab7e89 (patch)
tree46bef374dfb5ce412dca2e4c1e385125c0044d30 /eclass/crosscompile.eclass
parentfltk broken (diff)
downloadhistorical-9653037f26fa57f6c579030859825420a9ab7e89.tar.gz
historical-9653037f26fa57f6c579030859825420a9ab7e89.tar.bz2
historical-9653037f26fa57f6c579030859825420a9ab7e89.zip
Adding amd64/x86_64 to a few eclasses
Diffstat (limited to 'eclass/crosscompile.eclass')
-rw-r--r--eclass/crosscompile.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/crosscompile.eclass b/eclass/crosscompile.eclass
index d6fa0d2d8374..a6ab371e78ac 100644
--- a/eclass/crosscompile.eclass
+++ b/eclass/crosscompile.eclass
@@ -1,7 +1,7 @@
# Copyright 2003 Gentoo Technologies, Inc.
# Distributed under the term of the GNU General Public License v2
# Author: Zachary T Welch
-# $Header: /var/cvsroot/gentoo-x86/eclass/crosscompile.eclass,v 1.4 2003/05/08 01:03:51 zwelch Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/crosscompile.eclass,v 1.5 2003/07/18 20:11:22 tester Exp $
ECLASS=crosscompile
INHERITED="$INHERITED $ECLASS"
@@ -31,6 +31,8 @@ extract-arch() {
echo "sparc"
elif [ ${ISSPARC} -eq 7 ]; then
echo "sparc64"
+ elif [ $(expr "${1}" : x86_64) -eq 5 ]; then
+ echo "x86_64"
else
echo "unknown"
fi