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:
Greg Ward 2000-08-02 01:09:11 +00:00
parent 88608caff2
commit 1d526dd3b3

View File

@ -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():