Add support for g++ 4.4 to test/Jamfile

This commit is contained in:
Peter Dimov
2018-01-17 19:06:44 +02:00
parent d2fdd3637a
commit 344df6c0a0

View File

@ -25,7 +25,11 @@ project
{
local result ;
if <toolset>gcc in $(properties) || <toolset>clang in $(properties)
if <toolset-gcc:version>4.4 in $(properties)
{
result = <cxxflags>-std=c++98 ;
}
else if <toolset>gcc in $(properties) || <toolset>clang in $(properties)
{
result = <cxxflags>-std=c++03 ;
}
@ -41,7 +45,7 @@ project
{
local result ;
if <toolset-gcc:version>4.6 in $(properties)
if <toolset-gcc:version>4.4 in $(properties) || <toolset-gcc:version>4.6 in $(properties)
{
result = <cxxflags>-std=c++0x ;
}