summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2003-12-10 23:51:48 +0000
committerAron Griffis <agriffis@gentoo.org>2003-12-10 23:51:48 +0000
commit85c5f13c98f8956d4b83ca1ecd7263b1cd32ce4d (patch)
tree50868ce8c1850f80caa807017f044cb66a63986f /eclass/64-bit.eclass
parentfixed permission problem (diff)
downloadhistorical-85c5f13c98f8956d4b83ca1ecd7263b1cd32ce4d.tar.gz
historical-85c5f13c98f8956d4b83ca1ecd7263b1cd32ce4d.tar.bz2
historical-85c5f13c98f8956d4b83ca1ecd7263b1cd32ce4d.zip
*** empty log message ***
Diffstat (limited to 'eclass/64-bit.eclass')
-rw-r--r--eclass/64-bit.eclass15
1 files changed, 15 insertions, 0 deletions
diff --git a/eclass/64-bit.eclass b/eclass/64-bit.eclass
new file mode 100644
index 000000000000..88a58f35e773
--- /dev/null
+++ b/eclass/64-bit.eclass
@@ -0,0 +1,15 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/eclass/64-bit.eclass,v 1.1 2003/12/10 23:51:48 agriffis Exp $
+
+# Recognize 64-bit arches... This is to help when adding -fPIC, for
+# example:
+#
+# 64-bit && append-flags -fPIC
+#
+64-bit() {
+ case "${ARCH}" in
+ alpha|*64) return 0 ;;
+ *) return 1 ;;
+ esac
+}