summaryrefslogtreecommitdiffstats
path: root/win/makefile.vc
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2017-09-19 12:10:25 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2017-09-19 12:10:25 (GMT)
commit78a20a11b21ab416516724818432027dae27e5ac (patch)
treef0035b414adfae4848827bdb705565eeac2a78f2 /win/makefile.vc
parent54431f33602c5e550f8ec550cee26c73e77673fb (diff)
downloadtcl-78a20a11b21ab416516724818432027dae27e5ac.zip
tcl-78a20a11b21ab416516724818432027dae27e5ac.tar.gz
tcl-78a20a11b21ab416516724818432027dae27e5ac.tar.bz2
Remove /Gs which enables _chkstk on *every* function call. The normal default
behaviour (without the option) checks only local variable space exceeds page size. This is what Microsoft recommends. Also moved -O2 to rules.vc file so as to keep all optimization flags in one location. Removed optimizations switches subsumed by -O2.
Diffstat (limited to 'win/makefile.vc')
-rw-r--r--win/makefile.vc2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index ada08cc..cb6d92c 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -470,7 +470,7 @@ PKGSDIR = $(ROOT)\pkgs
!if !$(DEBUG)
!if $(OPTIMIZING)
### This cranks the optimization level to maximize speed
-cdebug = -O2 $(OPTIMIZATIONS)
+cdebug = $(OPTIMIZATIONS)
!else
cdebug =
!endif