summaryrefslogtreecommitdiff
path: root/Jamrules.jam
diff options
context:
space:
mode:
Diffstat (limited to 'Jamrules.jam')
-rw-r--r--Jamrules.jam8
1 files changed, 6 insertions, 2 deletions
diff --git a/Jamrules.jam b/Jamrules.jam
index fccb75c..8733b25 100644
--- a/Jamrules.jam
+++ b/Jamrules.jam
@@ -64,6 +64,10 @@ else if ( $(toolset:I=^msvc) )
{
CCFLAGS += /EHsc ;
}
+ else
+ {
+ CCFLAGS += /D_HAS_EXCEPTIONS=0 ;
+ }
actions ObjectAction
{
@@ -136,14 +140,14 @@ else if ( $(toolset:I=^dmc) )
CCFLAGS += -DNDEBUG ;
}
- if ( !(PUGIXML_NO_EXCEPTIONS in $(defines)) )
+ if ( ! ( PUGIXML_NO_EXCEPTIONS in $(defines) ) )
{
CCFLAGS += -Ae ;
}
actions ObjectAction
{
- "%$(toolset)_PATH%\bin\dmc.exe" -c -f -wx $(>) -o$(<)
+ "%$(toolset)_PATH%\bin\dmc.exe" -c -f -wx $(>) -o$(<) $(CCFLAGS)
}
actions LibraryAction