mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
Closes #16135: Removal of OS/2 support (distutils)
This commit is contained in:
parent
9407d50208
commit
d17833d360
12 changed files with 7 additions and 425 deletions
|
@ -351,7 +351,7 @@ class CCompiler:
|
|||
return macros, objects, extra, pp_opts, build
|
||||
|
||||
def _get_cc_args(self, pp_opts, debug, before):
|
||||
# works for unixccompiler, emxccompiler, cygwinccompiler
|
||||
# works for unixccompiler, cygwinccompiler
|
||||
cc_args = pp_opts + ['-c']
|
||||
if debug:
|
||||
cc_args[:0] = ['-g']
|
||||
|
@ -926,7 +926,6 @@ _default_compilers = (
|
|||
# on a cygwin built python we can use gcc like an ordinary UNIXish
|
||||
# compiler
|
||||
('cygwin.*', 'unix'),
|
||||
('os2emx', 'emx'),
|
||||
|
||||
# OS name mappings
|
||||
('posix', 'unix'),
|
||||
|
@ -968,8 +967,6 @@ compiler_class = { 'unix': ('unixccompiler', 'UnixCCompiler',
|
|||
"Mingw32 port of GNU C Compiler for Win32"),
|
||||
'bcpp': ('bcppcompiler', 'BCPPCompiler',
|
||||
"Borland C++ Compiler"),
|
||||
'emx': ('emxccompiler', 'EMXCCompiler',
|
||||
"EMX port of GNU C Compiler for OS/2"),
|
||||
}
|
||||
|
||||
def show_compilers():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue