diff options
author | Gregory M. Tuner <gmt@be-evil.net> | 2014-01-25 04:31:08 -0800 |
---|---|---|
committer | Gregory M. Tuner <gmt@be-evil.net> | 2014-01-25 04:31:08 -0800 |
commit | a0533f0d6d4127b9ade83a95e6915fdefc28b036 (patch) | |
tree | a320f73a103da2fbf26413de9597409df79da8f3 /eclass/python-single-r1.eclass | |
parent | dev-vcs/git: clone upstream (diff) | |
download | gmt-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.eclass | 3 |
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 |