summaryrefslogtreecommitdiff
blob: 88a58f35e773de56502dfb8c0b63ee95133d1dc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
}