diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2002-11-04 19:50:03 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2002-11-04 19:50:03 (GMT) |
commit | 47ca2bc661e39238a948d1c967756fd0580c3502 (patch) | |
tree | 050c3ec6d6262edab24a3d56f4985486e62c6e46 /Lib | |
parent | 22610da481130d2862c32f7aec1303a3ab76d23a (diff) | |
download | cpython-47ca2bc661e39238a948d1c967756fd0580c3502.zip cpython-47ca2bc661e39238a948d1c967756fd0580c3502.tar.gz cpython-47ca2bc661e39238a948d1c967756fd0580c3502.tar.bz2 |
[Patch #588809] Remove check of environment variables; sysconfig.py will do that now
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/distutils/command/build_ext.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py index 11ab595..934b457 100644 --- a/Lib/distutils/command/build_ext.py +++ b/Lib/distutils/command/build_ext.py @@ -451,14 +451,6 @@ class build_ext (Command): for undef in ext.undef_macros: macros.append((undef,)) - # XXX and if we support CFLAGS, why not CC (compiler - # executable), CPPFLAGS (pre-processor options), and LDFLAGS - # (linker options) too? - # XXX should we use shlex to properly parse CFLAGS? - - if os.environ.has_key('CFLAGS'): - extra_args.extend(string.split(os.environ['CFLAGS'])) - objects = self.compiler.compile(sources, output_dir=self.build_temp, macros=macros, @@ -485,7 +477,6 @@ class build_ext (Command): objects.extend(ext.extra_objects) extra_args = ext.extra_link_args or [] - self.compiler.link_shared_object( objects, ext_filename, libraries=self.get_libraries(ext), |