diff options
author | stanton <stanton> | 1999-02-12 00:52:06 (GMT) |
---|---|---|
committer | stanton <stanton> | 1999-02-12 00:52:06 (GMT) |
commit | 2a8a12c1a66ef582b6d541cd56106cabeb28fdd3 (patch) | |
tree | dcc9d129ed115b3be1ef2ee89efdb2188fe11c96 | |
parent | d7a9f04b3d1b7c5cb5666d36bcd5a5839d7c6b21 (diff) | |
download | tk-2a8a12c1a66ef582b6d541cd56106cabeb28fdd3.zip tk-2a8a12c1a66ef582b6d541cd56106cabeb28fdd3.tar.gz tk-2a8a12c1a66ef582b6d541cd56106cabeb28fdd3.tar.bz2 |
fixed bad compiler flags
-rw-r--r-- | win/makefile.vc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/win/makefile.vc b/win/makefile.vc index dc55ffa..2b0587c 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-1997 Sun Microsystems, Inc. -# RCS: @(#) $Id: makefile.vc,v 1.1.4.7 1999/02/11 04:13:50 stanton Exp $ +# RCS: @(#) $Id: makefile.vc,v 1.1.4.8 1999/02/12 00:52:06 stanton Exp $ # Does not depend on the presence of any environment variables in # order to compile tcl; all needed information is derived from @@ -257,7 +257,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 |