diff options
author | patthoyts@users.sourceforge.net <patthoyts> | 2007-10-31 00:05:53 (GMT) |
---|---|---|
committer | patthoyts@users.sourceforge.net <patthoyts> | 2007-10-31 00:05:53 (GMT) |
commit | 15f1e562d74586992ac9f70a1d2ca2a476a5de71 (patch) | |
tree | 725411d7c5a0246b447ff0f328f6cdfd86acf997 /win | |
parent | 75f1eeb1f6508bc4e2328120c44cad57d73eea6b (diff) | |
download | tk-15f1e562d74586992ac9f70a1d2ca2a476a5de71.zip tk-15f1e562d74586992ac9f70a1d2ca2a476a5de71.tar.gz tk-15f1e562d74586992ac9f70a1d2ca2a476a5de71.tar.bz2 |
Use -fp:strict with msvc8 as -fp:precise fails on amd64 builds. Fix
the two places in Tk that generate errors with msvc8 when using this
flag.
Diffstat (limited to 'win')
-rw-r--r-- | win/rules.vc | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/win/rules.vc b/win/rules.vc index f010169..836aaff 100644 --- a/win/rules.vc +++ b/win/rules.vc @@ -11,7 +11,7 @@ # Copyright (c) 2003-2007 Patrick Thoyts # #------------------------------------------------------------------------------ -# RCS: @(#) $Id: rules.vc,v 1.18 2007/10/12 18:56:33 patthoyts Exp $ +# RCS: @(#) $Id: rules.vc,v 1.19 2007/10/31 00:05:53 patthoyts Exp $ #------------------------------------------------------------------------------ !ifndef _RULES_VC @@ -106,19 +106,9 @@ OPTIMIZATIONS = $(OPTIMIZATIONS) -Oi OPTIMIZATIONS = $(OPTIMIZATIONS) -Op !endif -# Tk doesnt seem to be able to use -fp:strict. -!if "$(PROJECT)" != "tk" !if [nmakehlp -c -fp:strict] OPTIMIZATIONS = $(OPTIMIZATIONS) -fp:strict !endif -!else -!if [nmakehlp -c -fp:precise] -OPTIMIZATIONS = $(OPTIMIZATIONS) -fp:precise -!endif -!if [nmakehlp -c -fp:except] -OPTIMIZATIONS = $(OPTIMIZATIONS) -fp:except -!endif -!endif !if [nmakehlp -c -Gs] OPTIMIZATIONS = $(OPTIMIZATIONS) -Gs |