diff options
author | stratakis <cstratak@redhat.com> | 2018-12-19 18:19:01 +0100 |
---|---|---|
committer | Victor Stinner <vstinner@redhat.com> | 2018-12-19 18:19:01 +0100 |
commit | cf10a750f4b50b6775719cfb17bee00bc3a9c60b (patch) | |
tree | b01cd3a429404cf2a2d58d8cfb35676c8969f5f6 /Lib/_osx_support.py | |
parent | 55cc34500e5abbfedb89adc95e3f94d53c544933 (diff) | |
download | cpython-git-cf10a750f4b50b6775719cfb17bee00bc3a9c60b.tar.gz |
bpo-35257: Avoid leaking LTO linker flags into distutils (GH-10900)
When compiling 3rd party C extensions, the linker flags used by the
compiler for the interpreter and the stdlib modules, will get
leaked into distutils. In order to avoid that, the PY_CORE_LDFLAGS
and PY_LDFLAGS_NODIST are introduced to keep those flags separated.
Diffstat (limited to 'Lib/_osx_support.py')
-rw-r--r-- | Lib/_osx_support.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/_osx_support.py b/Lib/_osx_support.py index e37852e253..db6674ea29 100644 --- a/Lib/_osx_support.py +++ b/Lib/_osx_support.py @@ -17,7 +17,7 @@ __all__ = [ _UNIVERSAL_CONFIG_VARS = ('CFLAGS', 'LDFLAGS', 'CPPFLAGS', 'BASECFLAGS', 'BLDSHARED', 'LDSHARED', 'CC', 'CXX', 'PY_CFLAGS', 'PY_LDFLAGS', 'PY_CPPFLAGS', - 'PY_CORE_CFLAGS') + 'PY_CORE_CFLAGS', 'PY_CORE_LDFLAGS') # configuration variables that may contain compiler calls _COMPILER_CONFIG_VARS = ('BLDSHARED', 'LDSHARED', 'CC', 'CXX') |