diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-08-25 10:01:51 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-08-25 10:01:51 (GMT) |
commit | ea11a4da28d3e9a1c80627b23e83b34a7d73baf1 (patch) | |
tree | 9df3b480f5b637666a54e92aec8f8a3f660fcb3e /win/makefile.vc | |
parent | a01d9ef85f5007b1b16ebbcd84cdab572e1c4979 (diff) | |
parent | 03fb986ef80ace8909712934c47c86a26a75d027 (diff) | |
download | tcl-ea11a4da28d3e9a1c80627b23e83b34a7d73baf1.zip tcl-ea11a4da28d3e9a1c80627b23e83b34a7d73baf1.tar.gz tcl-ea11a4da28d3e9a1c80627b23e83b34a7d73baf1.tar.bz2 |
Removed "ucrt" as configureable option: If building with VC2014, it's the recommended way to build Tcl.
Diffstat (limited to 'win/makefile.vc')
-rw-r--r-- | win/makefile.vc | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/win/makefile.vc b/win/makefile.vc index 4a19d89..024ecb0 100644 --- a/win/makefile.vc +++ b/win/makefile.vc @@ -71,7 +71,7 @@ the build instructions. # Sets where to install Tcl from the built binaries.
# C:\Progra~1\Tcl is assumed when not specified.
#
-# OPTS=loimpact,msvcrt,nothreads,pdbs,profile,static,staticpkg,symbols,thrdalloc,tclalloc,unchecked,ucrt,none
+# OPTS=loimpact,msvcrt,nothreads,pdbs,profile,static,staticpkg,symbols,thrdalloc,tclalloc,unchecked,none
# Sets special options for the core. The default is for none.
# Any combination of the above may be used (comma separated).
# 'none' will over-ride everything to nothing.
@@ -102,11 +102,6 @@ the build instructions. # unchecked= Allows a symbols build to not use the debug
# enabled runtime (msvcrt.dll not msvcrtd.dll
# or libcmt.lib not libcmtd.lib).
-# ucrt= Uses ucrt.lib and libvcruntime.lib, which
-# ensures Tcl will run on machines with only the subset
-# of the C runtime that is part of the operating system.
-# If omitted, builds with VC 14.0 or later will require
-# the full C runtime redistributable.
#
# STATS=compdbg,memdbg,none
# Sets optional memory and bytecode compiler debugging code added
@@ -493,13 +488,7 @@ cdebug = -Zi -WX $(DEBUGFLAGS) cwarn = $(WARNINGS) -D _CRT_SECURE_NO_DEPRECATE -D _CRT_NONSTDC_NO_DEPRECATE
cflags = -nologo -c $(COMPILERFLAGS) $(cwarn) -Fp$(TMP_DIR)^\
-!if $(UCRT)
-!if $(DEBUG) && !$(UNCHECKED)
-crt = -MDd
-!else
-crt = -MT
-!endif
-!elseif $(MSVCRT)
+!if $(MSVCRT)
!if $(DEBUG) && !$(UNCHECKED)
crt = -MDd
!else
@@ -541,7 +530,7 @@ lflags = -nologo -machine:$(MACHINE) $(LINKERFLAGS) $(ldebug) lflags = $(lflags) -profile
!endif
-!if $(UCRT) && !($(DEBUG) && !$(UNCHECKED))
+!if $(MSVCRT) && !($(DEBUG) && !$(UNCHECKED)) && $(VCVERSION) >= 1900
lflags = $(lflags) -nodefaultlib:libucrt.lib
!endif
@@ -569,7 +558,7 @@ baselibs = netapi32.lib kernel32.lib user32.lib advapi32.lib ws2_32.lib baselibs = $(baselibs) bufferoverflowU.lib
!endif
!endif
-!if $(UCRT) && !($(DEBUG) && !$(UNCHECKED))
+!if $(MSVCRT) && !($(DEBUG) && !$(UNCHECKED)) && $(VCVERSION) >= 1900
baselibs = $(baselibs) ucrt.lib
!endif
|