diff options
author | patthoyts <patthoyts@noemail.net> | 2007-10-31 00:05:53 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@noemail.net> | 2007-10-31 00:05:53 (GMT) |
commit | 8d2e977a0fdbe915c8c204714b4ae9962a9b7231 (patch) | |
tree | 725411d7c5a0246b447ff0f328f6cdfd86acf997 /win/rules.vc | |
parent | fbccb749f41ac0293fc5d51bb7208bd3a50904f2 (diff) | |
download | tk-8d2e977a0fdbe915c8c204714b4ae9962a9b7231.zip tk-8d2e977a0fdbe915c8c204714b4ae9962a9b7231.tar.gz tk-8d2e977a0fdbe915c8c204714b4ae9962a9b7231.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.
FossilOrigin-Name: 3304fda806bdf09c71b80c5338ec6ffde3080ab5
Diffstat (limited to 'win/rules.vc')
-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 |