summaryrefslogtreecommitdiff
path: root/Jamrules.jam
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-01 06:40:43 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-01 06:40:43 +0000
commit8a51e7d6d330cdbee6dc17a534e26183e0ceaa47 (patch)
treedc8e11acea1c6a62c34a3890fcae0ac50f728494 /Jamrules.jam
parentf8e990533957bc00f3fc406d51633aca4ea8d3f0 (diff)
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
Diffstat (limited to 'Jamrules.jam')
-rw-r--r--Jamrules.jam7
1 files changed, 5 insertions, 2 deletions
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 ;