summaryrefslogtreecommitdiffstats
path: root/win/rules.vc
diff options
context:
space:
mode:
authordavygrvy <davygrvy@pobox.com>2002-02-21 18:37:27 (GMT)
committerdavygrvy <davygrvy@pobox.com>2002-02-21 18:37:27 (GMT)
commit684fff1b76d025b0bc8604b9afeffd894b587276 (patch)
tree73455424bfd8ff14c89dd77a202370b8b6b5a370 /win/rules.vc
parentbab9941ca86ab7fdba468681e54463cef336db5d (diff)
downloadtcl-684fff1b76d025b0bc8604b9afeffd894b587276.zip
tcl-684fff1b76d025b0bc8604b9afeffd894b587276.tar.gz
tcl-684fff1b76d025b0bc8604b9afeffd894b587276.tar.bz2
* win/makefile.vc:
* win/rules.vc: Added a new "loimpact" option that sets the -ws:aggressive linker option. Off by default. It's said to keep the heap use low at the expense of alloc speed.
Diffstat (limited to 'win/rules.vc')
-rw-r--r--win/rules.vc11
1 files changed, 9 insertions, 2 deletions
diff --git a/win/rules.vc b/win/rules.vc
index 016b4ee..00e4255 100644
--- a/win/rules.vc
+++ b/win/rules.vc
@@ -10,7 +10,7 @@
# Copyright (c) 2001 Tomasoft Engineering.
#
#------------------------------------------------------------------------------
-# RCS: @(#) $Id: rules.vc,v 1.5 2002/02/20 19:06:54 davygrvy Exp $
+# RCS: @(#) $Id: rules.vc,v 1.6 2002/02/21 18:37:27 davygrvy Exp $
#------------------------------------------------------------------------------
!ifndef _RULES_VC
@@ -100,6 +100,7 @@ TCL_THREADS = 0
DEBUG = 0
PROFILE = 0
MSVCRT = 0
+LOIMPACT = 0
TCL_LINKWITHEXTENSIONS = 0
!else
!if ![echo $(OPTS) | find /i "static" > nul]
@@ -138,13 +139,19 @@ PROFILE = 1
!else
PROFILE = 0
!endif
+!if ![echo $(OPTS) | find /i "loimpact" > nul]
+!message *** Doing loimpact
+LOIMPACT = 1
+!else
+LOIMPACT = 0
+!endif
!endif
!if !$(STATIC_BUILD)
# Make sure we don't build overly fat DLLs.
MSVCRT = 1
-# Shouldn't statically put the extensions inside the shell when dynamic.
+# We shouldn't statically put the extensions inside the shell when dynamic.
TCL_LINKWITHEXTENSIONS = 0
!endif