diff options
author | patthoyts <patthoyts@users.sourceforge.net> | 2006-10-31 15:18:28 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@users.sourceforge.net> | 2006-10-31 15:18:28 (GMT) |
commit | 325a929ec113b3300a023e5d07e93249c3f7ab2b (patch) | |
tree | 6058aee769405fca6529c9054e949fbe1dbd9989 /win | |
parent | 9d406283c78b9b11cadbe52ab064de3bd95f4105 (diff) | |
download | tk-325a929ec113b3300a023e5d07e93249c3f7ab2b.zip tk-325a929ec113b3300a023e5d07e93249c3f7ab2b.tar.gz tk-325a929ec113b3300a023e5d07e93249c3f7ab2b.tar.bz2 |
Fix bug #1582769 build with VC2003 and correct i386 arch.
Diffstat (limited to 'win')
-rw-r--r-- | win/rules.vc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/win/rules.vc b/win/rules.vc index bfe285e..235802e 100644 --- a/win/rules.vc +++ b/win/rules.vc @@ -11,7 +11,7 @@ # Copyright (c) 2003-2006 Patrick Thoyts # #------------------------------------------------------------------------------ -# RCS: @(#) $Id: rules.vc,v 1.5.2.7 2006/10/18 08:56:21 patthoyts Exp $ +# RCS: @(#) $Id: rules.vc,v 1.5.2.8 2006/10/31 15:18:28 patthoyts Exp $ #------------------------------------------------------------------------------ !ifndef _RULES_VC @@ -31,7 +31,7 @@ _INSTALLDIR = $(INSTALLDIR:/=\) !endif !ifndef MACHINE -!if "$(CPU)" == "" +!if "$(CPU)" == "" || "$(CPU)" == "i386" MACHINE = IX86 !else MACHINE = $(CPU) @@ -131,9 +131,12 @@ DEBUGFLAGS = $(DEBUGFLAGS) -GZ COMPILERFLAGS =-W3 +# In v13 -GL and -YX are incompatible. !if [nmakehlp -c -YX] +!if ![nmakehlp -c -GL] OPTIMIZATIONS = $(OPTIMIZATIONS) -YX !endif +!endif !if "$(MACHINE)" == "IX86" ### test for pentium errata @@ -497,7 +500,7 @@ TCLTOOLSDIR = $(_TCLDIR)\tools !message *** Output directory will be '$(OUT_DIR)' !message *** Suffix for binaries will be '$(SUFX)' !message *** Optional defines are '$(OPTDEFINES)' -!message *** Compiler version $(VCVER), arch is $(MACHINE) +!message *** Compiler version $(VCVER) !message *** Compiler options '$(OPTIMIZATIONS) $(DEBUGFLAGS)' !message *** Link options '$(LINKERFLAGS)' |