aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory M. Tuner <gmt@be-evil.net>2014-01-25 04:31:08 -0800
committerGregory M. Tuner <gmt@be-evil.net>2014-01-25 04:31:08 -0800
commita0533f0d6d4127b9ade83a95e6915fdefc28b036 (patch)
treea320f73a103da2fbf26413de9597409df79da8f3 /eclass/python-single-r1.eclass
parentdev-vcs/git: clone upstream (diff)
downloadgmt-a0533f0d6d4127b9ade83a95e6915fdefc28b036.tar.gz
gmt-a0533f0d6d4127b9ade83a95e6915fdefc28b036.tar.bz2
gmt-a0533f0d6d4127b9ade83a95e6915fdefc28b036.zip
eclass/python-single-r1: add frob to supporess autoheadercflags
Signed-off-by: Gregory M. Tuner <gmt@be-evil.net>
Diffstat (limited to 'eclass/python-single-r1.eclass')
-rw-r--r--eclass/python-single-r1.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/python-single-r1.eclass b/eclass/python-single-r1.eclass
index 8b1bf1e..2ae1c83 100644
--- a/eclass/python-single-r1.eclass
+++ b/eclass/python-single-r1.eclass
@@ -268,7 +268,8 @@ python_setup() {
die "No supported Python implementation in PYTHON_SINGLE_TARGET."
fi
- if _python-single-r1_python_is_multilib; then
+ if [[ ! ${PYTHON_NO_MAGIC_HEADER_CFLAGS} ]] && \
+ _python-single-r1_python_is_multilib; then
CFLAGS="${CFLAGS} $(python_get_CFLAGS)"
CXXFLAGS="${CXXFLAGS} $(python_get_CFLAGS)"
fi