diff options
author | dgp <dgp@users.sourceforge.net> | 2020-10-19 14:09:14 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2020-10-19 14:09:14 (GMT) |
commit | bb9c489d224ae07f9eb5c9794212abe0665c2a92 (patch) | |
tree | eac8c67d93ab9970ed580c47b3bc60b6e59cab62 /win/rules.vc | |
parent | a3b5f315c68e27047d9fbe6cb09b61d149722aba (diff) | |
parent | 40c3ec35eed68747b5fcde78f05600dc10a58308 (diff) | |
download | tcl-bb9c489d224ae07f9eb5c9794212abe0665c2a92.zip tcl-bb9c489d224ae07f9eb5c9794212abe0665c2a92.tar.gz tcl-bb9c489d224ae07f9eb5c9794212abe0665c2a92.tar.bz2 |
merge 8.6
Diffstat (limited to 'win/rules.vc')
-rw-r--r-- | win/rules.vc | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/win/rules.vc b/win/rules.vc index 6dca6d9..f3e5439 100644 --- a/win/rules.vc +++ b/win/rules.vc @@ -415,9 +415,6 @@ _INSTALLDIR=$(_INSTALLDIR)\lib # NATIVE_ARCH - set to IX86 or AMD64 for the host machine
# MACHINE - same as $(ARCH) - legacy
# _VC_MANIFEST_EMBED_{DLL,EXE} - commands for embedding a manifest if needed
-# CFG_ENCODING - set to an character encoding.
-# TBD - this is passed to compiler as TCL_CFGVAL_ENCODING but can't
-# see where it is used
cc32 = $(CC) # built-in default.
link32 = link
@@ -503,10 +500,6 @@ _VC_MANIFEST_EMBED_EXE=if exist $@.manifest mt -nologo -manifest $@.manifest -ou _VC_MANIFEST_EMBED_DLL=if exist $@.manifest mt -nologo -manifest $@.manifest -outputresource:$@;2
!endif
-!ifndef CFG_ENCODING
-CFG_ENCODING = \"cp1252\"
-!endif
-
################################################################
# 4. Build the nmakehlp program
# This is a helper app we need to overcome nmake's limiting
@@ -1043,7 +1036,7 @@ BUILDDIRTOP =$(BUILDDIRTOP)_$(MACHINE) BUILDDIRTOP =$(BUILDDIRTOP)_VC$(VCVER)
!endif
-!if !$(DEBUG) || $(DEBUG) && $(UNCHECKED)
+!if !$(DEBUG) || $(TCL_VERSION) > 86 || $(DEBUG) && $(UNCHECKED)
SUFX = $(SUFX:g=)
!endif
@@ -1292,7 +1285,7 @@ INCLUDE_INSTALL_DIR = $(_INSTALLDIR)\..\include # baselibs - minimum Windows libraries required. Parent makefile can
# define PRJ_LIBS before including rules.rc if additional libs are needed
-OPTDEFINES = /DTCL_CFGVAL_ENCODING=$(CFG_ENCODING) /DSTDC_HEADERS
+OPTDEFINES = /DSTDC_HEADERS
!if $(VCVERSION) >= 1600
OPTDEFINES = $(OPTDEFINES) /DHAVE_STDINT_H=1
!else
|