summaryrefslogtreecommitdiffstats
path: root/win/rules.vc
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2007-09-11 00:10:47 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2007-09-11 00:10:47 (GMT)
commit7d84381bfcf3014790c83d13caa0dd5fcf16af5e (patch)
tree157b207a37d3a8fc8624294f317d2a93ac863d63 /win/rules.vc
parent4b59eed7e9ef54634aa4bf2c3114d2dbe63ca846 (diff)
downloadtcl-7d84381bfcf3014790c83d13caa0dd5fcf16af5e.zip
tcl-7d84381bfcf3014790c83d13caa0dd5fcf16af5e.tar.gz
tcl-7d84381bfcf3014790c83d13caa0dd5fcf16af5e.tar.bz2
Fix for AMD64 target symbols builds.
Diffstat (limited to 'win/rules.vc')
-rw-r--r--win/rules.vc5
1 files changed, 4 insertions, 1 deletions
diff --git a/win/rules.vc b/win/rules.vc
index 91fa444..6cb2381 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.11.2.6 2006/10/31 15:17:20 patthoyts Exp $
+# RCS: @(#) $Id: rules.vc,v 1.11.2.7 2007/09/11 00:10:48 patthoyts Exp $
#------------------------------------------------------------------------------
!ifndef _RULES_VC
@@ -119,11 +119,14 @@ OPTIMIZATIONS = $(OPTIMIZATIONS) -GL
DEBUGFLAGS =
+# the platform SDK has broken headers that break the runtime checks for amd64
+!if "$(MACHINE)" != "AMD64"
!if [nmakehlp -c -RTC1]
DEBUGFLAGS = $(DEBUGFLAGS) -RTC1
!elseif [nmakehlp -c -GZ]
DEBUGFLAGS = $(DEBUGFLAGS) -GZ
!endif
+!endif
COMPILERFLAGS =-W3