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
commitd97df275660f8cc0911e8ab10612233a31c3c685 (patch)
tree126e50b94dae5ac33e9b935ac39b7f83eef76d2a /eclass/64-bit.eclass
parentfixed permission problem (diff)
downloadgentoo-2-d97df275660f8cc0911e8ab10612233a31c3c685.tar.gz
gentoo-2-d97df275660f8cc0911e8ab10612233a31c3c685.tar.bz2
gentoo-2-d97df275660f8cc0911e8ab10612233a31c3c685.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
+}