summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorstanton <stanton@noemail.net>1999-02-12 00:51:11 (GMT)
committerstanton <stanton@noemail.net>1999-02-12 00:51:11 (GMT)
commit3eb2ae55bd5fcc50c6e00031b184aa4be9fcfe26 (patch)
tree1fb21ba43d23365dcd881d7f6f564cc414dfdaf0 /win
parent5c1fe25361fd988c1352bed7279371a456393eb4 (diff)
downloadtk-3eb2ae55bd5fcc50c6e00031b184aa4be9fcfe26.zip
tk-3eb2ae55bd5fcc50c6e00031b184aa4be9fcfe26.tar.gz
tk-3eb2ae55bd5fcc50c6e00031b184aa4be9fcfe26.tar.bz2
fixed bad compiler flags
FossilOrigin-Name: e71ae597bf36fbebf7a1c05b3e7bdebb002d7592
Diffstat (limited to 'win')
-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