From 8a51e7d6d330cdbee6dc17a534e26183e0ceaa47 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Tue, 1 Jun 2010 06:40:43 +0000 Subject: tests: Added fp:precise flag for IntelC (the default seems to be fp:fast, which breaks some tests with fp specials) git-svn-id: http://pugixml.googlecode.com/svn/trunk@492 99668b35-9821-0410-8761-19e4c4f06640 --- Jamrules.jam | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Jamrules.jam') diff --git a/Jamrules.jam b/Jamrules.jam index 4e5c20f..9ceb265 100644 --- a/Jamrules.jam +++ b/Jamrules.jam @@ -153,12 +153,10 @@ else if ( $(toolset:I=^ic) ) if ( $(toolset) = ic11 ) { postfix = "\\ia32" ; - CCFLAGS += /fp:precise ; } else if ( $(toolset) = ic11_x64 ) { postfix = "\\intel64" ; - CCFLAGS += /fp:precise ; } else { @@ -177,6 +175,11 @@ else if ( $(toolset:I=^ic) ) CCFLAGS += /D$(defines) ; + if ( $(toolset) != ic8 ) + { + CCFLAGS += /fp:precise ; + } + if ( $(configuration) = "debug" ) { CCFLAGS += /D_DEBUG /Od /MTd ; -- cgit v1.2.3