summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Brauel <bjb@gentoo.org>2002-10-17 16:34:48 +0000
committerBjoern Brauel <bjb@gentoo.org>2002-10-17 16:34:48 +0000
commit403998846ecf17a486cb9f3e19d0be7b94bdfc3c (patch)
treed815b0cc34e42c09c9e9fab4b215e21141dcca4b /dev-lang/python
parentlintool fixes (diff)
downloadgentoo-2-403998846ecf17a486cb9f3e19d0be7b94bdfc3c.tar.gz
gentoo-2-403998846ecf17a486cb9f3e19d0be7b94bdfc3c.tar.bz2
gentoo-2-403998846ecf17a486cb9f3e19d0be7b94bdfc3c.zip
CFLAGS tuning for alpha
Diffstat (limited to 'dev-lang/python')
-rw-r--r--dev-lang/python/python-2.2.1-r5.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-lang/python/python-2.2.1-r5.ebuild b/dev-lang/python/python-2.2.1-r5.ebuild
index b9846ab1ff8d..55a07eb30350 100644
--- a/dev-lang/python/python-2.2.1-r5.ebuild
+++ b/dev-lang/python/python-2.2.1-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.2.1-r5.ebuild,v 1.4 2002/10/15 19:50:14 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.2.1-r5.ebuild,v 1.5 2002/10/17 16:34:48 bjb Exp $
IUSE="readline tcltk berkdb bootstrap"
@@ -41,6 +41,11 @@ src_unpack() {
src_compile() {
filter-flags -malign-double
+
+ if [ "${ARCH}" = "alpha" ]; then
+ CFLAGS="${CFLAGS} -fPIC"
+ CXXFLAGS="${CXXFLAGS} -fPIC"
+ fi
export OPT="$CFLAGS"
# adjust makefile to install pydoc into ${D} correctly