aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorGregory M. Tuner <gmt@be-evil.net>2014-03-17 17:48:48 -0700
committerGregory M. Tuner <gmt@be-evil.net>2014-03-17 17:48:48 -0700
commiteae9c4d482979130e9faa8a5dc1750e25e034631 (patch)
tree1c72bbb03ab68031cf8a31957eefcf3dbc37b868 /eclass
parentdev-python/pyxattr: drop as built-in distutils-r1 magic now handles multilib ... (diff)
downloadgmt-eae9c4d482979130e9faa8a5dc1750e25e034631.tar.gz
gmt-eae9c4d482979130e9faa8a5dc1750e25e034631.tar.bz2
gmt-eae9c4d482979130e9faa8a5dc1750e25e034631.zip
eclass/distutils-r1: never do multilib python header hacks for pypy
Pypy doesn't support CFLAGS fetching in python-utils-r1, so don't bother checking for multilib; our hacks won't work for it anyhow. Signed-off-by: Gregory M. Tuner <gmt@be-evil.net>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/distutils-r1.eclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 106b2bb..dc8ee44 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -345,6 +345,10 @@ _distutils-r1_python_is_multilib() {
if [[ ! ${EPYTHON} ]]; then
die "EPYTHON unset, python-single-r1_pkg_setup not called?!"
fi
+ # pypy doesn't support cflags fetching so make sure it's always considered non-multilib
+ case ${EPYTHON} in
+ pypy*) return 1;;
+ esac
local PYTHON_PKG_DEP
python_export ${EPYTHON} PYTHON_PKG_DEP
# n.b.: must be in sync with list at the top of multilib-build.eclass