diff options
Diffstat (limited to 'Jamrules.jam')
-rw-r--r-- | Jamrules.jam | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Jamrules.jam b/Jamrules.jam index e362eac..7c88a2b 100644 --- a/Jamrules.jam +++ b/Jamrules.jam @@ -12,7 +12,12 @@ if ( $(toolset:I=^mingw) || $(toolset) = "gcc" ) } CCFLAGS += -D$(defines) ; - CCFLAGS += -Wno-deprecated-declarations ; + + if ( $(toolset:I=^mingw3) ) + { + # GCC3 does not have pragma diagnostic + CCFLAGS += -Wno-deprecated-declarations ; + } if ( $(configuration) = "debug" ) { |