summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Jamrules.jam9
1 files changed, 7 insertions, 2 deletions
diff --git a/Jamrules.jam b/Jamrules.jam
index e89e08c..548c508 100644
--- a/Jamrules.jam
+++ b/Jamrules.jam
@@ -59,7 +59,7 @@ else if ( $(toolset:I=^msvc) )
if ( $(fulldebug) )
{
- CCFLAGS += /Zi ;
+ CCFLAGS += /Z7 ;
LDFLAGS += /DEBUG ;
}
@@ -72,9 +72,14 @@ else if ( $(toolset:I=^msvc) )
CCFLAGS += /DNDEBUG /Ox /MT ;
}
+ if ( $(toolset) = msvc7 || $(toolset) = msvc71 || $(toolset) = msvc8 )
+ {
+ CCFLAGS += /Wp64 ; # Wp64 is deprecated from msvc9
+ }
+
if ( $(toolset) != msvc6 )
{
- CCFLAGS += /Wp64 /W4 ;
+ CCFLAGS += /W4 ;
}
else
{