summaryrefslogtreecommitdiffstats
path: root/win/makefile.vc
diff options
context:
space:
mode:
authorstanton <stanton>1999-02-12 00:51:12 (GMT)
committerstanton <stanton>1999-02-12 00:51:12 (GMT)
commit6d3359c26ffd231f4317059d3379d678f8d771b6 (patch)
tree1fb21ba43d23365dcd881d7f6f564cc414dfdaf0 /win/makefile.vc
parenta3d6b88c675cebb1fec744420f4e35c8491b7c20 (diff)
downloadtk-6d3359c26ffd231f4317059d3379d678f8d771b6.zip
tk-6d3359c26ffd231f4317059d3379d678f8d771b6.tar.gz
tk-6d3359c26ffd231f4317059d3379d678f8d771b6.tar.bz2
fixed bad compiler flags
Diffstat (limited to 'win/makefile.vc')
-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..aff185c 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.19 1999/02/12 00:51:12 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