mirror of
https://github.com/python/cpython.git
synced 2024-11-30 05:15:14 +08:00
Rene Liebscher: deleted unneeded hard-coded assignments of CC, RANLIB, etc.
in '_init_nt()' (they were kludges for CygwinCCompiler and no longer needed).
This commit is contained in:
parent
88608caff2
commit
1d526dd3b3
@ -267,24 +267,8 @@ def _init_nt():
|
||||
g['INCLUDEPY'] = get_python_inc(plat_specific=0)
|
||||
|
||||
g['SO'] = '.pyd'
|
||||
g['exec_prefix'] = EXEC_PREFIX
|
||||
|
||||
# These are needed for the CygwinCCompiler and Mingw32CCompiler
|
||||
# classes, which are just UnixCCompiler classes that happen to work on
|
||||
# Windows. UnixCCompiler expects to find these values in sysconfig, so
|
||||
# here they are. The fact that other Windows compilers don't need
|
||||
# these values is pure luck (hmmm).
|
||||
|
||||
# XXX I think these are now unnecessary...
|
||||
|
||||
g['CC'] = "cc" # not gcc?
|
||||
g['RANLIB'] = "ranlib"
|
||||
g['AR'] = "ar"
|
||||
g['OPT'] = "-O2"
|
||||
g['SO'] = ".pyd"
|
||||
g['LDSHARED'] = "ld"
|
||||
g['CCSHARED'] = ""
|
||||
g['EXE'] = ".exe"
|
||||
g['exec_prefix'] = EXEC_PREFIX
|
||||
|
||||
|
||||
def _init_mac():
|
||||
|
Loading…
Reference in New Issue
Block a user