diff options
| author | stratakis <cstratak@redhat.com> | 2018-12-19 17:19:01 (GMT) | 
|---|---|---|
| committer | Victor Stinner <vstinner@redhat.com> | 2018-12-19 17:19:01 (GMT) | 
| commit | cf10a750f4b50b6775719cfb17bee00bc3a9c60b (patch) | |
| tree | b01cd3a429404cf2a2d58d8cfb35676c8969f5f6 /Lib/test/test__osx_support.py | |
| parent | 55cc34500e5abbfedb89adc95e3f94d53c544933 (diff) | |
| download | cpython-cf10a750f4b50b6775719cfb17bee00bc3a9c60b.zip cpython-cf10a750f4b50b6775719cfb17bee00bc3a9c60b.tar.gz cpython-cf10a750f4b50b6775719cfb17bee00bc3a9c60b.tar.bz2  | |
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/test/test__osx_support.py')
| -rw-r--r-- | Lib/test/test__osx_support.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test__osx_support.py b/Lib/test/test__osx_support.py index bcba8ca..388a2b1 100644 --- a/Lib/test/test__osx_support.py +++ b/Lib/test/test__osx_support.py @@ -24,7 +24,7 @@ class Test_OSXSupport(unittest.TestCase):          for cv in ('CFLAGS', 'LDFLAGS', 'CPPFLAGS',                              'BASECFLAGS', 'BLDSHARED', 'LDSHARED', 'CC',                              'CXX', 'PY_CFLAGS', 'PY_LDFLAGS', 'PY_CPPFLAGS', -                            'PY_CORE_CFLAGS'): +                            'PY_CORE_CFLAGS', 'PY_CORE_LDFLAGS'):              if cv in self.env:                  self.env.unset(cv)  | 
