summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstanton <stanton>1999-02-12 00:50:21 (GMT)
committerstanton <stanton>1999-02-12 00:50:21 (GMT)
commit0a7ceaf50f44d947dce1815689fc1e66ac33a89c (patch)
treef269eadfb8ba8e24cf264a3eaf3a7cf758076f3f
parenta3d6b88c675cebb1fec744420f4e35c8491b7c20 (diff)
downloadtk-0a7ceaf50f44d947dce1815689fc1e66ac33a89c.zip
tk-0a7ceaf50f44d947dce1815689fc1e66ac33a89c.tar.gz
tk-0a7ceaf50f44d947dce1815689fc1e66ac33a89c.tar.bz2
-rw-r--r--win/makefile.vc10
1 files changed, 8 insertions, 2 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index fc002dc..2b51746 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -4,7 +4,7 @@
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# Copyright (c) 1995-1996 Sun Microsystems, Inc.
-# RCS: @(#) $Id: makefile.vc,v 1.18 1999/02/04 21:02:58 stanton Exp $
+# RCS: @(#) $Id: makefile.vc,v 1.18.2.1 1999/02/12 00:50:21 stanton Exp $
# Does not depend on the presence of any environment variables in
# order to compile tcl; all needed information is derived from
@@ -254,7 +254,13 @@ guilibsdll = $(libcdll) $(winlibs)
######################################################################
!IF "$(NODEBUG)" == "1"
-cdebug = -O2 -Gs -GD
+!IF "$(MACHINE)" == "ALPHA"
+# MSVC on Alpha doesn't understand -Ot
+cdebug = -O2i -Gs -GD
+!ELSE
+# NOTE: Due to a bug in MSVC, we cannot use -O2 here or Tk starts to misbehave.
+cdebug = -Oti -Gs -GD
+!ENDIF
!ELSE
cdebug = -Z7 -Od -WX
!ENDIF