mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
The compiler class for EMX was removed
This commit is contained in:
parent
25d5737f15
commit
25987d0c4b
2 changed files with 2 additions and 5 deletions
|
@ -83,18 +83,15 @@ def customize_compiler(compiler):
|
||||||
# patterns. Order is important; platform mappings are preferred over
|
# patterns. Order is important; platform mappings are preferred over
|
||||||
# OS names.
|
# OS names.
|
||||||
_default_compilers = (
|
_default_compilers = (
|
||||||
|
|
||||||
# Platform string mappings
|
# Platform string mappings
|
||||||
|
|
||||||
# on a cygwin built python we can use gcc like an ordinary UNIXish
|
# on a cygwin built python we can use gcc like an ordinary UNIXish
|
||||||
# compiler
|
# compiler
|
||||||
('cygwin.*', 'unix'),
|
('cygwin.*', 'unix'),
|
||||||
('os2emx', 'emx'),
|
|
||||||
|
|
||||||
# OS name mappings
|
# OS name mappings
|
||||||
('posix', 'unix'),
|
('posix', 'unix'),
|
||||||
('nt', 'msvc'),
|
('nt', 'msvc'),
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
def get_default_compiler(osname=None, platform=None):
|
def get_default_compiler(osname=None, platform=None):
|
||||||
|
|
|
@ -352,7 +352,7 @@ class CCompiler:
|
||||||
return macros, objects, extra, pp_opts, build
|
return macros, objects, extra, pp_opts, build
|
||||||
|
|
||||||
def _get_cc_args(self, pp_opts, debug, before):
|
def _get_cc_args(self, pp_opts, debug, before):
|
||||||
# works for unixccompiler, emxccompiler, cygwinccompiler
|
# works for unixccompiler and cygwinccompiler
|
||||||
cc_args = pp_opts + ['-c']
|
cc_args = pp_opts + ['-c']
|
||||||
if debug:
|
if debug:
|
||||||
cc_args[:0] = ['-g']
|
cc_args[:0] = ['-g']
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue