From 3eb2ae55bd5fcc50c6e00031b184aa4be9fcfe26 Mon Sep 17 00:00:00 2001 From: stanton Date: Fri, 12 Feb 1999 00:51:11 +0000 Subject: fixed bad compiler flags FossilOrigin-Name: e71ae597bf36fbebf7a1c05b3e7bdebb002d7592 --- win/makefile.vc | 10 ++++++++-- 1 file 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 -- cgit v0.12